public class PojoToBytesCodes extends ObjectToBytesCodes<Object>
| 构造器和说明 |
|---|
PojoToBytesCodes() |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
decode(byte[] cipherObj,
Type plainType)
decode cipher object to plain object
|
byte[] |
encode(Object plainObj)
encode plain object to cipher object
|
boolean |
matchDecodeType(Type plainType)
this method decide whether use decode method
|
boolean |
matchEncodeObject(Object plainObj)
this method decide whether use encode method
|
int |
order()
order of this codes
|
public int order()
Codesorder 在类中 ObjectToBytesCodes<Object>public boolean matchDecodeType(Type plainType)
CodesmatchDecodeType 在类中 Codes<Object,byte[]>plainType - the type of plain objectthis#decode(Object, Type)public boolean matchEncodeObject(Object plainObj)
CodesmatchEncodeObject 在类中 Codes<Object,byte[]>plainObj - plain object to be encodedthis#encode(Object)public byte[] encode(Object plainObj)
Codesencode 在类中 ObjectToBytesCodes<Object>plainObj - plain object to be encodedCopyright © 2020. All rights reserved.