Uses of Class
com.esotericsoftware.kryo.Serializer
Packages that use Serializer
-
Uses of Serializer in com.esotericsoftware.kryo
Fields in com.esotericsoftware.kryo declared as SerializerModifier and TypeFieldDescriptionprivate SerializerRegistration.serializerprivate final Serializer<?> SerializerFactory.SingletonSerializerFactory.serializerFields in com.esotericsoftware.kryo with type parameters of type SerializerModifier and TypeFieldDescriptionprivate final Class<? extends Serializer> SerializerFactory.ReflectionSerializerFactory.serializerClassMethods in com.esotericsoftware.kryo that return SerializerModifier and TypeMethodDescriptionKryo.getDefaultSerializer(Class type) Returns the best matching serializer for a class.protected SerializerKryo.getDefaultSerializerForAnnotatedType(Class type) Kryo.getSerializer(Class type) Returns the serializer for the registration for the specified class.Registration.getSerializer()protected SerializerKryo.newDefaultSerializer(Class type) Called byKryo.getDefaultSerializer(Class)when no default serializers matched the type.SerializerFactory.FieldSerializerFactory.newSerializer(Kryo kryo, Class<?> type) SerializerFactory.newSerializer(Kryo kryo, Class<?> type) Creates a new serializerSerializerFactory.ReflectionSerializerFactory.newSerializer(Kryo kryo, Class<?> type) static SerializerSerializerFactory.ReflectionSerializerFactory.newSerializer(Kryo kryo, Class<? extends Serializer> serializerClass, Class<?> type) Creates a new instance of the specified serializer for serializing the specified class.SerializerFactory.SingletonSerializerFactory.newSerializer(Kryo kryo, Class<?> type) SerializerFactory.TaggedFieldSerializerFactory.newSerializer(Kryo kryo, Class<?> type) Methods in com.esotericsoftware.kryo with parameters of type SerializerModifier and TypeMethodDescriptionvoidKryo.addDefaultSerializer(Class type, Serializer serializer) Instances of the specified class will use the specified serializer whenKryo.register(Class)orKryo.register(Class, int)are called.<T> TKryo.copy(T object, Serializer serializer) Returns a deep copy of the object using the specified serializer.<T> TKryo.copyShallow(T object, Serializer serializer) Returns a shallow copy of the object using the specified serializer.<T> TKryo.readObject(Input input, Class<T> type, Serializer serializer) Reads an object using the specified serializer.<T> TKryo.readObjectOrNull(Input input, Class<T> type, Serializer serializer) Reads an object or null using the specified serializer.Kryo.register(Class type, Serializer serializer) Registers the class using the lowest, next available integer ID and the specified serializer.Kryo.register(Class type, Serializer serializer, int id) Registers the class using the specified ID and serializer.voidRegistration.setSerializer(Serializer serializer) voidKryo.writeObject(Output output, Object object, Serializer serializer) Writes an object using the specified serializer.voidKryo.writeObjectOrNull(Output output, Object object, Serializer serializer) Writes an object or null using the specified serializer.Method parameters in com.esotericsoftware.kryo with type arguments of type SerializerModifier and TypeMethodDescriptionstatic SerializerSerializerFactory.ReflectionSerializerFactory.newSerializer(Kryo kryo, Class<? extends Serializer> serializerClass, Class<?> type) Creates a new instance of the specified serializer for serializing the specified class.voidKryo.setDefaultSerializer(Class<? extends Serializer> serializer) Sets the serializer to use when nodefault serializersmatch an object's type.Constructors in com.esotericsoftware.kryo with parameters of type SerializerModifierConstructorDescriptionRegistration(Class type, Serializer serializer, int id) SingletonSerializerFactory(Serializer<?> serializer) Constructor parameters in com.esotericsoftware.kryo with type arguments of type SerializerModifierConstructorDescriptionReflectionSerializerFactory(Class<? extends Serializer> serializerClass) -
Uses of Serializer in com.esotericsoftware.kryo.serializers
Subclasses of Serializer in com.esotericsoftware.kryo.serializersModifier and TypeClassDescriptionclassSerializes Java beans using bean accessor methods.classEncrypts data using the blowfish cipher.classSerializer for Java8 closures.classSerializes objects that implement theCollectioninterface.classSerializes objects using direct field assignment, providing both forward and backward compatibility.static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classSerializer forBigDecimaland any subclass.static classSerializer forBigIntegerand any subclass.static classstatic classstatic classSerializer forGregorianCalendar, java.util.JapaneseImperialCalendar, and sun.util.BuddhistCalendar.static classstatic classSerializer forCharset.static classstatic classSerializer for lists created viaCollections.emptyList()or that were just assigned theCollections.EMPTY_LIST.static classSerializer for maps created viaCollections.emptyMap()or that were just assigned theCollections.EMPTY_MAP.static classSerializer for sets created viaCollections.emptySet()or that were just assigned theCollections.EMPTY_SET.static classSerializer for lists created viaCollections.singletonList(Object).static classSerializer for maps created viaCollections.singletonMap(Object, Object).static classSerializer for sets created viaCollections.singleton(Object).static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classSerializer forLocale(immutables).static classstatic classstatic classstatic classstatic classstatic classSerializer forTimeZone.static classSerializer forTreeMapand any subclass.static classSerializer forTreeMapand any subclass.static classSerializer forURL.static classclassclassSerializes enums using the enum's name.classWrites using the objects externalizable interface if it can reliably do so.classFieldSerializer<T, C extends FieldSerializerConfig>Serializes objects using direct field assignment.classSerializes objects using Java's built in serialization mechanism.classSerializes objects that implement theMapinterface.(package private) static class(package private) static class(package private) static class(package private) static classclassSerializes objects using direct field assignment for fields that have a@Tag(int)annotation.(package private) static class(package private) static class(package private) static class(package private) static class(package private) static class(package private) static class(package private) static class(package private) static class(package private) static class(package private) static class(package private) static class(package private) static class(package private) static class(package private) static classclassSerializes objects using direct field assignment, with versioning backward compatibility.Fields in com.esotericsoftware.kryo.serializers declared as SerializerModifier and TypeFieldDescriptionprivate SerializerMapSerializer.keySerializer(package private) SerializerBeanSerializer.CachedProperty.serializerprivate final SerializerBlowfishSerializer.serializerprivate SerializerCollectionSerializer.serializerprivate final SerializerDeflateSerializer.serializer(package private) SerializerFieldSerializer.CachedField.serializerprivate final SerializerEnumNameSerializer.stringSerializerprivate SerializerMapSerializer.valueSerializerMethods in com.esotericsoftware.kryo.serializers that return SerializerMethods in com.esotericsoftware.kryo.serializers with parameters of type SerializerModifier and TypeMethodDescriptionvoidFieldSerializer.CachedField.setClass(Class valueClass, Serializer serializer) voidCollectionSerializer.setElementClass(Class elementClass, Serializer serializer) voidMapSerializer.setKeyClass(Class keyClass, Serializer keySerializer) voidFieldSerializer.CachedField.setSerializer(Serializer serializer) voidMapSerializer.setValueClass(Class valueClass, Serializer valueSerializer) Constructors in com.esotericsoftware.kryo.serializers with parameters of type SerializerModifierConstructorDescriptionBlowfishSerializer(Serializer serializer, byte[] key) CollectionSerializer(Class elementClass, Serializer serializer) CollectionSerializer(Class elementClass, Serializer serializer, boolean elementsCanBeNull) DeflateSerializer(Serializer serializer)