Class PropertiesFileSanitizer
- java.lang.Object
-
- org.opennms.systemreport.sanitizer.PropertiesFileSanitizer
-
- All Implemented Interfaces:
ConfigFileSanitizer
- Direct Known Subclasses:
UsersPropertiesFileSanitizer
public class PropertiesFileSanitizer extends Object implements ConfigFileSanitizer
-
-
Field Summary
Fields Modifier and Type Field Description protected String
SANITIZED_VALUE
-
Constructor Summary
Constructors Constructor Description PropertiesFileSanitizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFileName()
protected String
getOutput(Properties properties)
org.springframework.core.io.Resource
getSanitizedResource(File file)
protected void
sanitizeProperties(Properties properties)
-
-
-
Field Detail
-
SANITIZED_VALUE
protected final String SANITIZED_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFileName
public String getFileName()
- Specified by:
getFileName
in interfaceConfigFileSanitizer
-
getSanitizedResource
public org.springframework.core.io.Resource getSanitizedResource(File file) throws FileSanitizationException
- Specified by:
getSanitizedResource
in interfaceConfigFileSanitizer
- Throws:
FileSanitizationException
-
sanitizeProperties
protected void sanitizeProperties(Properties properties)
-
getOutput
protected String getOutput(Properties properties)
-
-