java.lang.Object
coneforest.psylla.tools.ant.Base64Codec
A codec for encoding and decoding objects using the Base64 encoding scheme.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Base64Codec
public Base64Codec()
-
-
Method Details
-
encode
Returns a Base64-encoded representation of an object.- Parameters:
obj
- an object.- Returns:
- a Base64-encoded representation of an object.
-
decode
Returns an object decoded from a Base64-encoded representation.- Parameters:
str
- a Base-64 encoded representation of an object.- Returns:
- an object decoded.
-