public class PersistenceHelper extends Object
Constructor and Description |
---|
PersistenceHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
deleteState(String prefix,
Properties properties)
Deletes the keys for a state that is identified by given prefix out
of the given properties.
|
static Collection<String> |
getAvailableStates(Properties properties)
As one Properties instance can contain several stored states of a NatTable instance,
this method can be used to retrieve the names of the containing states.
|
public static void deleteState(String prefix, Properties properties)
prefix
- The prefix for the keys the state consists of.
Can be interpreted as state configuration name.properties
- The properties containing the state configuration.public static Collection<String> getAvailableStates(Properties properties)
properties
- The Properties to retrieve the containing states ofCopyright © 2013. All Rights Reserved.