|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ofbiz.base.util.Base64
public class Base64
Base64 implements Base64 encoding and Base 64 decoding.
Constructor Summary | |
---|---|
Base64()
|
Method Summary | |
---|---|
static byte[] |
base64Decode(byte[] data)
This method decodes the given byte[] using the base64-encoding specified in RFC-2045 (Section 6.8). |
static java.lang.String |
base64Decode(java.lang.String str)
This method decodes the given string using the base64-encoding specified in RFC-2045 (Section 6.8). |
static byte[] |
base64Encode(byte[] data)
This method encodes the given byte[] using the base64-encoding specified in RFC-2045 (Section 6.8). |
static java.lang.String |
base64Encode(java.lang.String str)
This method encodes the given string using the base64-encoding specified in RFC-2045 (Section 6.8). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Base64()
Method Detail |
---|
public static final byte[] base64Decode(byte[] data)
data
- the base64-encoded data.
public static final java.lang.String base64Decode(java.lang.String str)
str
- the base64-encoded string.
public static final byte[] base64Encode(byte[] data)
data
- the data
public static final java.lang.String base64Encode(java.lang.String str)
str
- the string
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |