org.apache.fulcrum.crypto.impl
Class Base64
java.lang.Object
org.apache.fulcrum.crypto.impl.Base64
public class Base64
- extends Object
Base64 encoder/decoder taken from commons-codec. Copying
and wasting the code allows to minimize the dependencies.
- Author:
- Siegfried Goeschl
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Base64
public Base64()
isArrayByteBase64
public static boolean isArrayByteBase64(byte[] arrayOctect)
encodeBase64
public static byte[] encodeBase64(byte[] binaryData)
encodeBase64Chunked
public static byte[] encodeBase64Chunked(byte[] binaryData)
decode
public Object decode(Object pObject)
throws Exception
- Throws:
Exception
decode
public byte[] decode(byte[] pArray)
encodeBase64
public static byte[] encodeBase64(byte[] binaryData,
boolean isChunked)
decodeBase64
public static byte[] decodeBase64(byte[] base64Data)
encode
public Object encode(Object pObject)
throws Exception
- Throws:
Exception
encode
public byte[] encode(byte[] pArray)
Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.