Package com.thoughtworks.xstream.core
Interface StringCodec
- All Known Implementing Classes:
Base64Encoder
,Base64JavaUtilCodec
,Base64JAXBCodec
public interface StringCodec
Interface for an encoder and decoder of data to string values and back.
- Since:
- 1.4.11
-
Method Summary
-
Method Details
-
decode
Decode the provided encoded string.- Parameters:
encoded
- the encoded string- Returns:
- the decoded data
- Since:
- 1.4.11
-
encode
Encode the provided data.- Parameters:
data
- the data to encode- Returns:
- the data encoded as string
- Since:
- 1.4.11
-