|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModulePropertyInterface
This interface defines required methods for another interfaces to support properties in a way that the module implementing the interface would be compatible with UCOT.
Method Summary | |
---|---|
void |
applyProperties()
Applies current properties for the module. |
java.util.Properties |
getProperties()
Returns module's properties. |
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. |
Method Detail |
---|
java.util.Properties getProperties()
void setProperties(java.util.Properties properties)
properties
- Properties for the adapter.void applyProperties() throws BadPropertyValueException
BadPropertyValueException
- In this case exception
is thrown only if either the given parser or heuristic
does not exist.void saveProperties() throws java.io.IOException
java.io.IOException
- Exception is thrown if something went wrong.void loadProperties() throws java.io.IOException
java.io.IOException
- Exception is thrown if something went wrong.java.util.Properties loadDefaultProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |