public interface IContentCodec
Modifier and Type | Method and Description |
---|---|
Object |
decode(byte[] val,
ClassLoader classloader,
Map<Class<?>,Object[]> info)
Decode data with the codec.
|
byte[] |
encode(Object val,
ClassLoader classloader,
Map<Class<?>,Object[]> info)
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, Map<Class<?>,Object[]> info)
val
- The value.Object decode(byte[] val, ClassLoader classloader, Map<Class<?>,Object[]> info)
val
- The string value.Copyright © 2012. All Rights Reserved.