|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.geclipse.core.security.Base64
public class Base64
A configurable Base64 codec.
| Constructor Summary | |
|---|---|
Base64()
Create a defaut Base64 codec. |
|
| Method Summary | |
|---|---|
byte[] |
decode(byte[] encoded)
Decode the specified byte array using the current decoding table and the current fill byte. |
java.lang.String |
decode(java.lang.String encoded)
Decode the specified string using the current decoding table and the current fill byte. |
byte[] |
encode(byte[] decoded)
Encode the specified byte array using the current encoding table and the current fill byte. |
java.lang.String |
encode(java.lang.String decoded)
Encode the specified string using the current encoding table and the current fill byte. |
void |
setDecodingTable(byte[] table)
Set the current decoding table to the specified one. |
void |
setEncodingTable(byte[] table,
boolean changeDecoding)
Set the current encoding table to the specified one. |
void |
setFillByte(byte b)
Set the current fill byte to the specified one. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Base64()
| Method Detail |
|---|
public java.lang.String decode(java.lang.String encoded)
encoded - The encoded string.
public byte[] decode(byte[] encoded)
encoded - The encoded byte array.
public java.lang.String encode(java.lang.String decoded)
decoded - The decoded string.
public byte[] encode(byte[] decoded)
decoded - The decoded byte array.
public void setDecodingTable(byte[] table)
table - The new decoding table.
public void setEncodingTable(byte[] table,
boolean changeDecoding)
table - The new encoding table.changeDecoding - If true the decoding table is changed as well.public void setFillByte(byte b)
b - The new fill byte.
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||