Uses of Interface
xyz.janboerman.scalaloader.configurationserializable.runtime.Codec
Packages that use Codec
-
Uses of Codec in xyz.janboerman.scalaloader.configurationserializable.runtime
Methods in xyz.janboerman.scalaloader.configurationserializable.runtime that return CodecModifier and TypeMethodDescriptionstatic <LIVE,SERIALIZED>
Codec<LIVE, SERIALIZED> Codec.of(Function<? super LIVE, ? extends SERIALIZED> serializer, Function<? super SERIALIZED, ? extends LIVE> deserializer) Construct a codec from a serialization function and a deserialization function.Methods in xyz.janboerman.scalaloader.configurationserializable.runtime with parameters of type CodecModifier and TypeMethodDescriptionstatic <T> booleanRuntimeConversions.registerCodec(IScalaPluginClassLoader pluginClassLoader, Class<T> clazz, Codec<T, ?> codec) Register a codec that will be used byRuntimeConversions.serialize(Object, ParameterType, ClassLoader)andRuntimeConversions.deserialize(Object, ParameterType, ClassLoader).static booleanRuntimeConversions.registerCodec(IScalaPluginClassLoader pluginClassLoader, ParameterType type, Codec<?, ?> codec) Register a codec that will be used byRuntimeConversions.serialize(Object, ParameterType, ClassLoader)andRuntimeConversions.deserialize(Object, ParameterType, ClassLoader).Method parameters in xyz.janboerman.scalaloader.configurationserializable.runtime with type arguments of type CodecModifier and TypeMethodDescriptionstatic booleanRuntimeConversions.registerCodec(IScalaPluginClassLoader pluginClassLoader, Predicate<? super ParameterType> whenToUse, Function<? super ParameterType, ? extends Codec<?, ?>> codecFactory) Register a codec that will be used byRuntimeConversions.serialize(Object, ParameterType, ClassLoader)andRuntimeConversions.deserialize(Object, ParameterType, ClassLoader).