|
intarsys runtime library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.tools.encoding.Base64
public class Base64
An encoder for the BASE 64 code.
Constructor Summary | |
---|---|
Base64()
|
Method Summary | |
---|---|
static byte[] |
decode(byte[] inputBytes)
Decodes Base64 data into octects |
static byte[] |
encode(byte[] inputBytes)
Encodes hex octets into Base64 |
static int |
getDecodedDataLength(byte[] base64Data)
returns length of decoded data given an array containing encoded data. |
static boolean |
isArrayByteBase64(byte[] arrayOctect)
|
static boolean |
isBase64(byte octect)
|
static boolean |
isBase64(String isValidString)
|
static byte[] |
removeWhiteSpace(byte[] data)
Remove whitespace from MIME containing encoded Base64 data. e.g. " sdffferererrereresfsdfsdfsdff\n\r iiiiiiiiierejrlkwjerklwjerwerwr==\n\r" |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Base64()
Method Detail |
---|
public static byte[] decode(byte[] inputBytes)
inputBytes
- Byte array containing Base64 data
public static byte[] encode(byte[] inputBytes)
inputBytes
- Array containing binaryData
public static int getDecodedDataLength(byte[] base64Data)
base64Data
-
public static boolean isArrayByteBase64(byte[] arrayOctect)
public static boolean isBase64(byte octect)
public static boolean isBase64(String isValidString)
public static byte[] removeWhiteSpace(byte[] data)
data
-
|
intarsys runtime library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |