|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.cargo.util.Base64
public final class Base64
Provides utility methods to Base64 encode data. This class uses the Base64 encoding as specified in RFC 2045, 6.8. Base64 Content-Transfer-Encoding.
| Method Summary | |
|---|---|
static byte[] |
encode(byte[] bytes)
Base64 encodes the specified bytes. |
static java.lang.String |
encode(java.lang.String string)
Base64 encodes the specified string using the platform's default encoding. |
static byte[] |
encodeBase64(byte[] bytes)
Base64 encodes the specified bytes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static byte[] encodeBase64(byte[] bytes)
bytes - the bytes to encode
public static java.lang.String encode(java.lang.String string)
string - the string to encode
public static byte[] encode(byte[] bytes)
bytes - the bytes to encode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||