Package org.geotools.xml.impl
Class Base64Binary
- Object
-
- Base64Binary
-
-
Constructor Summary
Constructors Constructor Description Base64Binary()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]
decode(String pValue)
Converts the stringpValue
into a base64 encoded byte array.static String
encode(byte[] pValue)
Converts the base64 encoded byte arraypValue
into a string.static byte[]
getClone(byte[] pValue)
Creates a clone of the byte arraypValue
.
-
-
-
Method Detail
-
getClone
public static byte[] getClone(byte[] pValue)
Creates a clone of the byte arraypValue
.
-
decode
public static byte[] decode(String pValue) throws IOException
Converts the stringpValue
into a base64 encoded byte array.- Throws:
IOException
-
encode
public static String encode(byte[] pValue)
Converts the base64 encoded byte arraypValue
into a string.
-
-