Class Base64JAXBCodec
java.lang.Object
com.thoughtworks.xstream.core.util.Base64JAXBCodec
- All Implemented Interfaces:
StringCodec
Base64 codec implementation based on JAXB.
- Since:
- 1.4.11
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Base64JAXBCodec
public Base64JAXBCodec()
-
-
Method Details
-
decode
Description copied from interface:StringCodec
Decode the provided encoded string.- Specified by:
decode
in interfaceStringCodec
- Parameters:
base64
- the encoded string- Returns:
- the decoded data
-
encode
Description copied from interface:StringCodec
Encode the provided data.- Specified by:
encode
in interfaceStringCodec
- Parameters:
data
- the data to encode- Returns:
- the data encoded as string
-