public class Base64Serializer extends Object implements ObjectSerializer
| Constructor and Description |
|---|
Base64Serializer() |
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(String data)
Deserialze base 64 encoded string data to Object.
|
String |
getContentTransferEncoding()
Returns 'base64' as content-transfer-encoding.
|
String |
getContentType()
Content type that will be used in the response.
|
String |
serialize(Object object)
Serialize object to an encoded base64 string.
|
public String serialize(Object object)
serialize in interface ObjectSerializerobject - Object to serialize.public Object deserialize(String data)
deserialize in interface ObjectSerializerdata - String representation of the object to deserialize.public String getContentType()
SerializergetContentType in interface SerializerSerializer.getContentType()public String getContentTransferEncoding()
Copyright © 2012 ElPaso Software. All Rights Reserved.