|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucot.ModuleProperties
public abstract class ModuleProperties
Field Summary | |
---|---|
protected java.util.Properties |
properties
|
protected java.net.URL |
propertiesURL
|
Constructor Summary | |
---|---|
ModuleProperties()
|
Method Summary | |
---|---|
void |
applyProperties()
Applies current properties for the module. |
java.util.Properties |
getProperties()
Returns module's properties. |
private java.net.URL |
getPropertiesURL()
Method for creating the URL from the properties file, which is the same as the class name with an .xml extension. |
java.util.Properties |
loadDefaultProperties()
Method which returns the factory default properties for the module. |
void |
loadProperties()
Loads settings from the current properties XML file. |
void |
saveProperties()
Saves current properties to the properties XML file. |
void |
setProperties(java.util.Properties properties)
Sets options for the adapter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.net.URL propertiesURL
protected java.util.Properties properties
Constructor Detail |
---|
public ModuleProperties()
Method Detail |
---|
private java.net.URL getPropertiesURL()
public java.util.Properties getProperties()
ModulePropertyInterface
getProperties
in interface ModulePropertyInterface
ModulePropertyInterface.getProperties()
public void setProperties(java.util.Properties properties)
ModulePropertyInterface
setProperties
in interface ModulePropertyInterface
properties
- Properties for the adapter.ModulePropertyInterface.setProperties(java.util.Properties)
public void applyProperties() throws BadPropertyValueException
ModulePropertyInterface
applyProperties
in interface ModulePropertyInterface
BadPropertyValueException
- In this case exception
is thrown only if either the given parser or heuristic
does not exist.ModulePropertyInterface.applyProperties()
public void saveProperties() throws java.io.IOException
ModulePropertyInterface
saveProperties
in interface ModulePropertyInterface
java.io.IOException
- Exception is thrown if something went wrong.ModulePropertyInterface.saveProperties()
public void loadProperties() throws java.io.IOException
ModulePropertyInterface
loadProperties
in interface ModulePropertyInterface
java.io.IOException
- Exception is thrown if something went wrong.ModulePropertyInterface.loadProperties()
public java.util.Properties loadDefaultProperties()
ModulePropertyInterface
loadDefaultProperties
in interface ModulePropertyInterface
ModulePropertyInterface.loadDefaultProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |