| 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--org.apache.commons.httpclient.util.Base64
Base64 encoder and decoder.
This class provides encoding/decoding methods for the Base64 encoding as defined by RFC 2045, N. Freed and N. Borenstein. RFC 2045: Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies. Reference 1996. Available at: http://www.ietf.org/rfc/rfc2045.txt
| Method Summary | |
static byte[] | 
decode(byte[] base64Data)
Deprecated. Decodes Base64 data into octects  | 
static byte[] | 
encode(byte[] binaryData)
Deprecated. Encodes hex octects into Base64  | 
static boolean | 
isArrayByteBase64(byte[] arrayOctect)
Deprecated. Return true if the specified byte array is base64  | 
static boolean | 
isBase64(java.lang.String isValidString)
Deprecated. Return true if the specified string is base64 encoded.  | 
| Methods inherited from class java.lang.Object | 
clone, 
equals, 
finalize, 
getClass, 
hashCode, 
notify, 
notifyAll, 
toString, 
wait, 
wait, 
wait | 
| Method Detail | 
public static boolean isBase64(java.lang.String isValidString)
isValidString - The string to test.public static boolean isArrayByteBase64(byte[] arrayOctect)
arrayOctect - The array to test.public static byte[] encode(byte[] binaryData)
binaryData - Array containing binaryDatapublic static byte[] decode(byte[] base64Data)
base64Data - byte array containing Base64 data
  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||