public class SpyDotProperties extends java.lang.Object implements P6OptionsSource
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_OPTIONS_FILE |
static java.lang.String |
OPTIONS_FILE_CHARSET_PROPERTY |
static java.lang.String |
OPTIONS_FILE_PROPERTY |
| Constructor and Description |
|---|
SpyDotProperties()
Creates a new instance and loads the properties file if found.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getOptions() |
boolean |
isModified()
Determines if the file has been modified since it was loaded
|
void |
postInit(P6ModuleManager p6moduleManager)
Intended for the postInit jobs.
|
void |
preDestroy(P6ModuleManager p6moduleManager)
Intended for cleanup jobs.
|
public static final java.lang.String OPTIONS_FILE_PROPERTY
public static final java.lang.String OPTIONS_FILE_CHARSET_PROPERTY
public static final java.lang.String DEFAULT_OPTIONS_FILE
public SpyDotProperties()
throws java.io.IOException
java.io.IOExceptionpublic boolean isModified()
public java.util.Map<java.lang.String,java.lang.String> getOptions()
getOptions in interface P6OptionsSourcepublic void preDestroy(P6ModuleManager p6moduleManager)
P6OptionsSourceP6ModuleManager.cleanUp().preDestroy in interface P6OptionsSourcep6moduleManager - module manager instance that is about to be destroyed.public void postInit(P6ModuleManager p6moduleManager)
P6OptionsSourceP6ModuleManager.P6ModuleManager(). After
initialization is done.postInit in interface P6OptionsSourcep6moduleManager - module manager instance that has been initialized.