Class ConfigPropertiesCascadeBase.ConfigFile
- java.lang.Object
-
- org.owasp.csrfguard.config.overlay.ConfigPropertiesCascadeBase.ConfigFile
-
- Enclosing class:
- ConfigPropertiesCascadeBase
protected static class ConfigPropertiesCascadeBase.ConfigFile extends Object
-
-
Constructor Summary
Constructors Constructor Description ConfigFile(String configFileFullConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContents()the contents when the config file was readStringretrieveContents(ConfigPropertiesCascadeBase configPropertiesCascadeBase)get the contents from the config filevoidsetContents(String contents1)
-
-
-
Constructor Detail
-
ConfigFile
public ConfigFile(String configFileFullConfig)
- Parameters:
configFileFullConfig- The config file location reference such as file:/some/path/config.properties
-
-
Method Detail
-
getContents
public String getContents()
the contents when the config file was read- Returns:
- the contents
-
setContents
public void setContents(String contents1)
- Parameters:
contents1- the contents to set
-
retrieveContents
public String retrieveContents(ConfigPropertiesCascadeBase configPropertiesCascadeBase)
get the contents from the config file- Parameters:
configPropertiesCascadeBase- the config properties cascade base- Returns:
- the contents
-
-