Search this API

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.

 
Your browser does not support SVG content.

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

Method Detail

write

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

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

read

java.util.Map read(java.lang.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-2022,
yWorks GmbH.
All rights reserved.