- java.lang.Object
-
- org.redkale.convert.SimpledCoder<R,W,T>
-
- 类型参数:
R
- Reader输入的子类W
- Writer输出的子类T
- 序列化/反解析的数据类型
- 所有已实现的接口:
Decodeable<R,T>
,Encodeable<W,T>
- 直接已知子类:
AtomicBooleanSimpledCoder
,AtomicIntegerSimpledCoder
,AtomicLongSimpledCoder
,BigDecimalSimpledCoder
,BigDecimalSimpledCoder.BigDecimalJsonSimpledCoder
,BigIntegerSimpledCoder
,BigIntegerSimpledCoder.BigIntegerHexJsonSimpledCoder
,BigIntegerSimpledCoder.BigIntegerJsonSimpledCoder
,BoolArraySimpledCoder
,BoolSimpledCoder
,ByteArraySimpledCoder
,ByteBufferSimpledCoder
,ByteSimpledCoder
,CharArraySimpledCoder
,CharSequenceSimpledCoder
,CharSequenceSimpledCoder.StringBuilderSimpledCoder
,CharSimpledCoder
,CompletionHandlerSimpledCoder
,DateSimpledCoder
,DoubleArraySimpledCoder
,DoubleArraySimpledCoder.DoubleStreamSimpledCoder
,DoubleSimpledCoder
,DurationSimpledCoder
,EnumSimpledCoder
,FileSimpledCoder
,FloatArraySimpledCoder
,FloatSimpledCoder
,InetAddressSimpledCoder
,InetAddressSimpledCoder.InetAddressJsonSimpledCoder
,InetAddressSimpledCoder.InetSocketAddressJsonSimpledCoder
,InetAddressSimpledCoder.InetSocketAddressSimpledCoder
,InstantSimpledCoder
,InstantSimpledCoder.InstantJsonSimpledCoder
,IntArraySimpledCoder
,IntArraySimpledCoder.IntStreamSimpledCoder
,IntSimpledCoder
,IntSimpledCoder.IntHexJsonSimpledCoder
,JsonSimpledCoder
,LocalDateSimpledCoder
,LocalDateSimpledCoder.LocalDateJsonSimpledCoder
,LocalDateTimeSimpledCoder
,LocalDateTimeSimpledCoder.LocalDateTimeJsonSimpledCoder
,LocalTimeSimpledCoder
,LocalTimeSimpledCoder.LocalTimeJsonSimpledCoder
,LongAdderSimpledCoder
,LongArraySimpledCoder
,LongArraySimpledCoder.LongStreamSimpledCoder
,LongSimpledCoder
,LongSimpledCoder.LongHexJsonSimpledCoder
,NumberSimpledCoder
,OptionalCoder
,PatternSimpledCoder
,ProtobufCoders.ProtobufBoolArraySimpledCoder
,ProtobufCoders.ProtobufBoolArraySimpledCoder2
,ProtobufCoders.ProtobufBoolCollectionSimpledCoder
,ProtobufCoders.ProtobufByteArraySimpledCoder
,ProtobufCoders.ProtobufByteArraySimpledCoder2
,ProtobufCoders.ProtobufByteCollectionSimpledCoder
,ProtobufCoders.ProtobufCharArraySimpledCoder
,ProtobufCoders.ProtobufCharArraySimpledCoder2
,ProtobufCoders.ProtobufCharCollectionSimpledCoder
,ProtobufCoders.ProtobufDoubleArraySimpledCoder
,ProtobufCoders.ProtobufDoubleArraySimpledCoder2
,ProtobufCoders.ProtobufDoubleCollectionSimpledCoder
,ProtobufCoders.ProtobufFloatArraySimpledCoder
,ProtobufCoders.ProtobufFloatArraySimpledCoder2
,ProtobufCoders.ProtobufFloatCollectionSimpledCoder
,ProtobufCoders.ProtobufIntArraySimpledCoder
,ProtobufCoders.ProtobufIntArraySimpledCoder2
,ProtobufCoders.ProtobufIntCollectionSimpledCoder
,ProtobufCoders.ProtobufLongArraySimpledCoder
,ProtobufCoders.ProtobufLongArraySimpledCoder2
,ProtobufCoders.ProtobufLongCollectionSimpledCoder
,ProtobufCoders.ProtobufShortArraySimpledCoder
,ProtobufCoders.ProtobufShortArraySimpledCoder2
,ProtobufCoders.ProtobufShortCollectionSimpledCoder
,ProtobufEnumSimpledCoder
,ShortArraySimpledCoder
,ShortSimpledCoder
,StringArraySimpledCoder
,StringSimpledCoder
,StringSimpledCoder.StandardStringSimpledCoder
,StringWrapperSimpledCoder
,ThrowableSimpledCoder
,TypeSimpledCoder
,Uint128SimpledCoder
,Uint128SimpledCoder.Uint128JsonSimpledCoder
,URISimpledCoder
,URLSimpledCoder
public abstract class SimpledCoder<R extends Reader,W extends Writer,T> extends Object implements Decodeable<R,T>, Encodeable<W,T>
简易类的序列化和反序列化操作类
能序列化为Boolean、Number或者字符串的类视为简易类
详情见: https://redkale.org
- 作者:
- zhangjx
-
-
构造器概要
构造器 构造器 说明 SimpledCoder()
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 abstract T
convertFrom(R in)
反序列化操作abstract void
convertTo(W out, T value)
序列化操作Type
getType()
泛型映射接口String
toString()
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 org.redkale.convert.Encodeable
specifyable
-
-
-
-
字段详细资料
-
type
protected Type type
-
-
方法详细资料
-
convertTo
public abstract void convertTo(W out, T value)
从接口复制的说明:Encodeable
序列化操作
-
convertFrom
public abstract T convertFrom(R in)
从接口复制的说明:Decodeable
反序列化操作- 指定者:
convertFrom
在接口中Decodeable<R extends Reader,W extends Writer>
- 参数:
in
- R- 返回:
- T
-
getType
public Type getType()
从接口复制的说明:Decodeable
泛型映射接口
-
-