|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectbe.saltwater.jaqel.settings.XMLSettingsWriter
Provides support for writing settings to an XML file. The XML file must have the following format:
<settings>
<setting key="some_path" type="string" write="false" value="/some/path"/>
<setting key="language" type="string" write="true" value="nl"/>
...
</settings>
This format is read by XMLSettingsReader.
| Constructor Summary | |
XMLSettingsWriter(java.lang.String filename)
|
|
| Method Summary | |
void |
write(SettingsManager manager)
Implementation of SettingsWriter.write for this format (XML). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMLSettingsWriter(java.lang.String filename)
throws java.io.IOException
filename - The filename of the xml file that must be written by this instance.| Method Detail |
public void write(SettingsManager manager)
write in interface SettingsWriter
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||