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 TypeInterfaceDescriptioninterfaceStrictTextSerializer 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 TypeClassDescriptionclassBooleanSerializer (de)serializes Boolean objects.classByteSerializer (de)serializes Byte objects.classCharacterSerializer (de)serializes Character objects.classDoubleScalarSerializer<U extends Unit<U>,S extends DoubleScalar<U, S>> DoubleScalarSerializer (de)serializes DJUNITS double scalars.classDoubleSerializer (de)serializes Double objects.classFloatScalarSerializer<U extends Unit<U>,S extends FloatScalar<U, S>> FloatScalarSerializer (de)serializes DJUNITS float scalars.classFloatSerializer (de)serializes Float objects.classIntegerSerializer (de)serializes Integer objects.classLongSerializer (de)serializes Long objects.classShortSerializer (de)serializes Short objects.classStringSerializer (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> TTextSerializer.deserialize(TextSerializer<?> serializer, String text, Column<?> column) Helper function to deal with casting when callingTextSerializer.deserialize().static <T> StringTextSerializer.serialize(TextSerializer<?> serializer, Object value, String unit) Helper function to deal with casting when callingTextSerializer.serialize().