| Package | Description |
|---|---|
| de.aristaflow.adept2.util | |
| de.aristaflow.adept2.util.configuration |
| Modifier and Type | Method and Description |
|---|---|
static PropertiesFileConfiguration |
ConfigurationTools.newPropertiesConfiguration(java.io.File file)
Creates a new
PropertiesFileConfiguration containing the contents of the
designated file. |
static PropertiesFileConfiguration |
ConfigurationTools.newPropertiesConfiguration(java.io.File file,
java.util.logging.Logger autosaveLogger)
Creates a new
PropertiesFileConfiguration containing the contents of the
designated file. |
static PropertiesFileConfiguration |
ConfigurationTools.newPropertiesConfiguration(java.lang.String file)
Creates a new
PropertiesFileConfiguration containing the contents of the
designated file. |
static PropertiesFileConfiguration |
ConfigurationTools.newPropertiesConfiguration(java.lang.String file,
java.util.logging.Logger autosaveLogger)
Creates a new
PropertiesFileConfiguration containing the contents of the
designated file. |
static PropertiesFileConfiguration |
ConfigurationTools.newPropertiesConfiguration(java.net.URL url)
Creates a new
PropertiesFileConfiguration containing the contents of the
designated URL. |
static PropertiesFileConfiguration |
ConfigurationTools.newPropertiesConfiguration(java.net.URL url,
java.io.InputStream is)
Creates a new
PropertiesFileConfiguration containing the contents of the
designated input stream. |
static PropertiesFileConfiguration |
ConfigurationTools.newPropertiesConfiguration(java.net.URL url,
java.util.logging.Logger autosaveLogger)
Creates a new
PropertiesFileConfiguration containing the contents of the
designated URL. |
| Modifier and Type | Field and Description |
|---|---|
protected PropertiesFileConfiguration |
AutoSaveListener.conf
The configuration of which to save the contents when changed.
|
| Constructor and Description |
|---|
AutoSaveListener(PropertiesFileConfiguration conf,
FileHandler fileHandler,
java.util.logging.Logger logger)
Creates a new listener automatically saving a properties configuration to the corresponding
file when changing the configuration.
|
AutoSaveListener(PropertiesFileConfiguration conf,
FileHandler fileHandler,
java.nio.file.Path path,
java.util.logging.Logger logger)
Creates a new listener automatically saving a properties configuration to the corresponding
file when changing the configuration.
|