Uses of Interface
org.djutils.data.serialization.TextSerializer
Packages that use TextSerializer
Package
Description
The serialization package takes care of (de)serializing data of different types to/from Strings.
-
Uses of TextSerializer in org.djutils.data.serialization
Subinterfaces of TextSerializer in org.djutils.data.serializationModifier and TypeInterfaceDescriptioninterface
StrictTextSerializer adds one method to the textSerializer class where it it is not necessary to specify the type for the deserialize method, since it is a specific class.Classes in org.djutils.data.serialization that implement TextSerializerModifier and TypeClassDescriptionclass
BooleanSerializer (de)serializes Boolean objects.class
ByteSerializer (de)serializes Byte objects.class
CharacterSerializer (de)serializes Character objects.class
DoubleScalarSerializer<U extends org.djunits.unit.Unit<U>,
S extends org.djunits.value.vdouble.scalar.base.DoubleScalar<U, S>> DoubleScalarSerializer (de)serializes DJUNITS double scalars.class
DoubleSerializer (de)serializes Double objects.class
FloatScalarSerializer<U extends org.djunits.unit.Unit<U>,
S extends org.djunits.value.vfloat.scalar.base.FloatScalar<U, S>> FloatScalarSerializer (de)serializes DJUNITS float scalars.class
FloatSerializer (de)serializes Float objects.class
IntegerSerializer (de)serializes Integer objects.class
LongSerializer (de)serializes Long objects.class
ShortSerializer (de)serializes Short objects.class
StringSerializer (de)serializes String objects.Methods in org.djutils.data.serialization that return TextSerializerModifier and TypeMethodDescriptionstatic TextSerializer<?>
Resolve the correct (de)serializer for the given class, and return an instance of the (de)serializer.Methods in org.djutils.data.serialization with parameters of type TextSerializerModifier and TypeMethodDescriptionstatic <T> T
TextSerializer.deserialize
(TextSerializer<?> serializer, String text, Column<?> column) Helper function to deal with casting when callingTextSerializer.deserialize()
.static <T> String
TextSerializer.serialize
(TextSerializer<?> serializer, Object value, String unit) Helper function to deal with casting when callingTextSerializer.serialize()
.