y.option
Interface OptionsIOHandler

All Known Implementing Classes:
PropertiesIOHandler

public interface OptionsIOHandler

Implementations of this class are responsible for reading and writing a hierarchically structured set of options or parameters.


Method Summary
 Map read(String nameSpace)
          Restores formerly stored key value pairs.
 void write(String nameSpace, Map sectionMap)
          Stores the key value pairs defined in the given map.
 

Method Detail

write

public void write(String nameSpace,
                  Map sectionMap)
Stores the key value pairs defined in the given map.

Parameters:
nameSpace - the namespace for the key value pairs.

read

public Map read(String nameSpace)
Restores formerly stored key value pairs.

Parameters:
nameSpace - the namespace of the stored key value pairs.
Returns:
a map that contains the restored key value pairs.

© Copyright 2000-2003,
yWorks GmbH.
All rights reserved.

2003