Uses of Interface
org.djutils.data.serialization.TextSerializer
-
Packages that use TextSerializer Package Description org.djutils.data.serialization 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.serialization Modifier and Type Interface Description interfaceSpecificTextSerializer<T>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 TextSerializer Modifier and Type Class Description classBooleanSerializerBooleanSerializer (de)serializes Boolean objects.classByteSerializerByteSerializer (de)serializes Byte objects.classCharacterSerializerCharacterSerializer (de)serializes Character objects.classDoubleScalarSerializer<U extends org.djunits.unit.Unit<U>,S extends org.djunits.value.vdouble.scalar.base.AbstractDoubleScalar<U,S>>DoubleScalarSerializer (de)serializes DJUNITS double scalars.classDoubleSerializerDoubleSerializer (de)serializes Double objects.classFloatScalarSerializer<U extends org.djunits.unit.Unit<U>,S extends org.djunits.value.vfloat.scalar.base.AbstractFloatScalar<U,S>>FloatScalarSerializer (de)serializes DJUNITS float scalars.classFloatSerializerFloatSerializer (de)serializes Float objects.classIntegerSerializerIntegerSerializer (de)serializes Integer objects.classLongSerializerLongSerializer (de)serializes Long objects.classShortSerializerShortSerializer (de)serializes Short objects.classStringSerializerStringSerializer (de)serializes String objects.Methods in org.djutils.data.serialization that return TextSerializer Modifier and Type Method Description static TextSerializer<?>TextSerializer. resolve(Class<?> valueClass)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 TextSerializer Modifier and Type Method Description static <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().
-