Package org.togglz.core.repository.util
Class DefaultMapSerializer
java.lang.Object
org.togglz.core.repository.util.DefaultMapSerializer
- All Implemented Interfaces:
MapSerializer
This converter is able to convert string maps to simple strings and vice versa.
- Author:
- Christian Kaltepoth
-
Method Summary
Modifier and TypeMethodDescriptionRestores a map that has been converted into a string usingMapSerializer.serialize(Map)static DefaultMapSerializerCreates a new instance of theDefaultMapSerializer.static DefaultMapSerializerCreates a new instance of theDefaultMapSerializer.Converts the given map to a string representation that can be used to restore the map usingMapSerializer.deserialize(String).static DefaultMapSerializerCreates a new instance of theDefaultMapSerializer.
-
Method Details
-
singleline
Creates a new instance of theDefaultMapSerializer. -
multiline
Creates a new instance of theDefaultMapSerializer. -
multiline
Creates a new instance of theDefaultMapSerializer. -
serialize
Description copied from interface:MapSerializerConverts the given map to a string representation that can be used to restore the map usingMapSerializer.deserialize(String).- Specified by:
serializein interfaceMapSerializer
-
deserialize
Description copied from interface:MapSerializerRestores a map that has been converted into a string usingMapSerializer.serialize(Map)- Specified by:
deserializein interfaceMapSerializer
-