public interface IContentCodec
| Modifier and Type | Method and Description |
|---|---|
Object |
decode(byte[] val,
ClassLoader classloader)
Decode data with the codec.
|
byte[] |
encode(Object val,
ClassLoader classloader)
Encode data with the codec.
|
boolean |
match(Properties props)
Test if the codec can be used with the provided meta information.
|
boolean match(Properties props)
props - The meta information.byte[] encode(Object val, ClassLoader classloader)
val - The value.Object decode(byte[] val, ClassLoader classloader)
val - The string value.Copyright © 2012. All Rights Reserved.