|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--dtw.webmail.util.config.CastorXMLConfiguration
Class implementing a JwmaConfiguration with Castor XML based persistence.
Constructor Summary | |
CastorXMLConfiguration(java.io.File configfile)
|
Method Summary | |
JwmaConfiguration |
load()
Unmarshalls a JwmaConfiguration instance from the given reader. |
void |
store(JwmaConfiguration config)
Stores a JwmaConfiguration instance to the given writer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CastorXMLConfiguration(java.io.File configfile)
Method Detail |
public void store(JwmaConfiguration config) throws java.lang.Exception
config
- the instance to be marshalled.
java.lang.Exception
- on failure.public JwmaConfiguration load() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |