org.apache.fulcrum.crypto.impl
Class Base64
java.lang.Object
org.apache.fulcrum.crypto.impl.Base64
- public class Base64
- extends java.lang.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 java.lang.Object decode(java.lang.Object pObject)
throws java.lang.Exception
- Throws:
java.lang.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 java.lang.Object encode(java.lang.Object pObject)
throws java.lang.Exception
- Throws:
java.lang.Exception
encode
public byte[] encode(byte[] pArray)
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.