public class CharSequenceSerializer
extends java.lang.Object
implements org.ehcache.spi.serialization.Serializer<java.lang.CharSequence>
Serializer
implementation for CharSequence
that delegates
to StringSerializer
.Constructor and Description |
---|
CharSequenceSerializer()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.CharSequence object,
java.nio.ByteBuffer binary) |
java.lang.CharSequence |
read(java.nio.ByteBuffer binary) |
java.nio.ByteBuffer |
serialize(java.lang.CharSequence object) |
public java.nio.ByteBuffer serialize(java.lang.CharSequence object) throws org.ehcache.spi.serialization.SerializerException
serialize
in interface org.ehcache.spi.serialization.Serializer<java.lang.CharSequence>
org.ehcache.spi.serialization.SerializerException
public java.lang.CharSequence read(java.nio.ByteBuffer binary) throws java.lang.ClassNotFoundException, org.ehcache.spi.serialization.SerializerException
read
in interface org.ehcache.spi.serialization.Serializer<java.lang.CharSequence>
java.lang.ClassNotFoundException
org.ehcache.spi.serialization.SerializerException
public boolean equals(java.lang.CharSequence object, java.nio.ByteBuffer binary) throws java.lang.ClassNotFoundException, org.ehcache.spi.serialization.SerializerException
equals
in interface org.ehcache.spi.serialization.Serializer<java.lang.CharSequence>
java.lang.ClassNotFoundException
org.ehcache.spi.serialization.SerializerException