|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConfiguratorCodec
Defines an object that can encode and decode variables of a given type
| Method Summary | |
|---|---|
java.lang.Object |
decode(java.lang.String encoded)
Decodes the encoded string into a value object |
java.lang.String |
encode(java.lang.Object value)
Encodes the value of a given object |
java.lang.Class |
getType()
Gets the type identifier that this codec object can handle |
| Method Detail |
|---|
java.lang.String encode(java.lang.Object value)
throws CodecException
value - The value to encode
CodecException - If the supplied object cannot be handled by this
codec
java.lang.Object decode(java.lang.String encoded)
throws CodecException
encoded - The encoded string
CodecException - If the supplied encoded data cannot be parsed by this
codecjava.lang.Class getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||