| 
 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||
java.lang.Objectjava.lang.Enum<Base64>
com.amazonaws.util.Base64
public enum Base64
A Base 64 codec API. See http://www.ietf.org/rfc/rfc4648.txt
| Method Summary | |
|---|---|
| static byte[] | decode(byte[] b64)Decodes the given base 64 encoded bytes. | 
| static byte[] | decode(java.lang.String b64)Decodes the given base 64 encoded string, skipping carriage returns, line feeds and spaces as needed. | 
| static byte[] | encode(byte[] bytes)Returns a 64 encoded byte array of the given bytes. | 
| static java.lang.String | encodeAsString(byte... bytes)Returns a base 64 encoded string of the given bytes. | 
| static Base64 | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static Base64[] | values()Returns an array containing the constants of this enum type, in the order they are declared. | 
| Methods inherited from class java.lang.Enum | 
|---|
| compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf | 
| Methods inherited from class java.lang.Object | 
|---|
| getClass, notify, notifyAll, wait, wait, wait | 
| Method Detail | 
|---|
public static Base64[] values()
for (Base64 c : Base64.values()) System.out.println(c);
public static Base64 valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic static java.lang.String encodeAsString(byte... bytes)
public static byte[] encode(byte[] bytes)
public static byte[] decode(java.lang.String b64)
public static byte[] decode(byte[] b64)
| 
 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||