|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--audiojury.domain.ConfigBase
|
+--audiojury.proxy.ConfigPlugin
Handles configuration storage details.
ConfigManager,
ProjectStoragePlugin| Field Summary |
| Fields inherited from class audiojury.domain.ConfigBase |
APPLICATION_ROOT, BROWSE_SOUND_PATH, PERSON_INFO, PROJECTS_PATH, REPORT_PATH, RESULT_PATH, SHARED_PATH |
| Constructor Summary | |
ConfigPlugin()
Constructor. |
|
| Method Summary | |
java.lang.String |
getValue(int type)
Gets the value of a a configuration parameter. |
java.lang.String[] |
getValues(int type)
Gets the values of a a multi-valued configuration parameter. |
void |
saveConfiguration()
Forces the plugin to flush the settings to disk. |
void |
setValue(int type,
java.lang.String value)
Sets a configuration parameter. |
void |
setValues(int type,
java.lang.String[] values)
Sets a multi-valued configuration parameter. |
| Methods inherited from class audiojury.domain.ConfigBase |
getName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ConfigPlugin()
| Method Detail |
public void setValues(int type,
java.lang.String[] values)
setValues in interface ConfigProcessingtype - A parameter constant as defined in ConfigBase.values - The values to assign to the configuration parameter.public java.lang.String[] getValues(int type)
getValues in interface ConfigProcessingtype - A parameter identifier as defined in ConfigBase.
public void setValue(int type,
java.lang.String value)
setValue in interface ConfigProcessingtype - A parameter identifier as defined in audiojury.domain.ConfigBase.value - The value to assign to the configuration parameter.public java.lang.String getValue(int type)
getValue in interface ConfigProcessingtype - A parameter identifier as defined in audiojury.domain.ConfigBase.
public void saveConfiguration()
throws java.io.FileNotFoundException,
java.io.IOException
java.io.IOException - if there was an unhandled IO error during the operation.
java.io.FileNotFoundException - if the config file could not be created or overwritten.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||