Class PersistenceUtils
java.lang.Object
org.eclipse.nebula.widgets.nattable.util.PersistenceUtils
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe character that is used to separate the column and the value that should be stored for the column. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringmapAsString(Map<Integer, String> map) Convert the Map to a String suitable for persisting in the Properties file.parseString(Object property) Parse the persisted property and create a TreeMap<Integer, String> from it.
-
Field Details
-
COLUMN_VALUE_SEPARATOR
The character that is used to separate the column and the value that should be stored for the column.- See Also:
-
-
Method Details
-
parseString
Parse the persisted property and create a TreeMap<Integer, String> from it. Works in conjunction with themapAsString(Map).- Parameters:
property- from the properties file.
-
mapAsString
Convert the Map to a String suitable for persisting in the Properties file.parseString(Object)can be used to reconstruct this Map object from the String.
-