public class PropertiesFileSanitizer extends Object implements ConfigFileSanitizer
| Modifier and Type | Field and Description |
|---|---|
protected String |
SANITIZED_VALUE |
| Constructor and Description |
|---|
PropertiesFileSanitizer() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFileName() |
protected String |
getOutput(Properties properties) |
org.springframework.core.io.Resource |
getSanitizedResource(File file) |
protected void |
sanitizeProperties(Properties properties) |
protected final String SANITIZED_VALUE
public String getFileName()
getFileName in interface ConfigFileSanitizerpublic org.springframework.core.io.Resource getSanitizedResource(File file) throws FileSanitizationException
getSanitizedResource in interface ConfigFileSanitizerFileSanitizationExceptionprotected void sanitizeProperties(Properties properties)
protected String getOutput(Properties properties)
Copyright © 2022. All rights reserved.