Uses of Interface
org.djutils.data.serialization.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
Modifier 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.Modifier 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.Modifier and TypeMethodDescriptionstatic TextSerializer<?>
Resolve the correct (de)serializer for the given class, and return an instance of the (de)serializer.Modifier 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()
.