|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.prosyst.util.encode.Base64
public class Base64
| Field Summary | |
|---|---|
static byte[] |
codes
Auxiliary array containing int values of chars. |
| Constructor Summary | |
|---|---|
Base64()
|
|
| Method Summary | |
|---|---|
static byte[] |
decode(byte[] data)
|
static byte[] |
decode(byte[] b_in,
int off,
int length)
Decodes Base64 encoded data. |
static byte[] |
encode(byte[] b_in)
Encodes byte array. |
static byte[] |
encode(byte[] b_in,
int CHARS_PER_LINE)
|
static byte[] |
encode(byte[] b_in,
int off,
int length)
|
static byte[] |
encode(byte[] b_in,
int off1,
int length,
int CHARS_PER_LINE)
Encodes byte array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static byte[] codes
| Constructor Detail |
|---|
public Base64()
| Method Detail |
|---|
public static byte[] encode(byte[] b_in)
b_in - byte array data for encoding.
public static byte[] encode(byte[] b_in,
int off,
int length)
public static byte[] encode(byte[] b_in,
int CHARS_PER_LINE)
public static byte[] encode(byte[] b_in,
int off1,
int length,
int CHARS_PER_LINE)
b_in - byte array data for encoding.CHARS_PER_LINE - chars per line in output.
public static byte[] decode(byte[] data)
throws java.lang.Exception
java.lang.Exception
public static byte[] decode(byte[] b_in,
int off,
int length)
throws java.lang.Exception
b_in - encoded data.
when - data is not in correct Base64 format.
java.lang.Exception
|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||