|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.option.PropertiesIOHandler
public class PropertiesIOHandler
A OptionsIOHandler
implementation that reads the options from
and writes the options to a Java Properties
object.
Constructor Summary | |
---|---|
PropertiesIOHandler(java.util.Properties prop)
Creates a new instance of PropertiesIOHandler. |
Method Summary | |
---|---|
java.util.Map |
read(java.lang.String optionHandlerName)
Restores formerly stored key value pairs. |
void |
write(java.lang.String optionHandlerName,
java.util.Map sectionMap)
Stores the key value pairs defined in the given map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertiesIOHandler(java.util.Properties prop)
Method Detail |
---|
public java.util.Map read(java.lang.String optionHandlerName)
OptionsIOHandler
read
in interface OptionsIOHandler
optionHandlerName
- the namespace of the stored key value pairs.
public void write(java.lang.String optionHandlerName, java.util.Map sectionMap)
OptionsIOHandler
write
in interface OptionsIOHandler
optionHandlerName
- the namespace for the key value pairs.
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |