android.util
Class Base64

java.lang.Object
  extended by android.util.Base64

public class Base64
extends Object


Field Summary
static int CRLF
           
static int DEFAULT
           
static int NO_CLOSE
           
static int NO_PADDING
           
static int NO_WRAP
           
static int URL_SAFE
           
 
Method Summary
static byte[] decode(byte[] input, int flags)
           
static byte[] decode(byte[] input, int offset, int len, int flags)
           
static byte[] decode(String str, int flags)
           
static byte[] encode(byte[] input, int flags)
           
static byte[] encode(byte[] input, int offset, int len, int flags)
           
static String encodeToString(byte[] input, int flags)
           
static String encodeToString(byte[] input, int offset, int len, int flags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final int DEFAULT
See Also:
Constant Field Values

NO_PADDING

public static final int NO_PADDING
See Also:
Constant Field Values

NO_WRAP

public static final int NO_WRAP
See Also:
Constant Field Values

CRLF

public static final int CRLF
See Also:
Constant Field Values

URL_SAFE

public static final int URL_SAFE
See Also:
Constant Field Values

NO_CLOSE

public static final int NO_CLOSE
See Also:
Constant Field Values
Method Detail

decode

public static byte[] decode(String str,
                            int flags)

decode

public static byte[] decode(byte[] input,
                            int flags)

decode

public static byte[] decode(byte[] input,
                            int offset,
                            int len,
                            int flags)

encodeToString

public static String encodeToString(byte[] input,
                                    int flags)

encodeToString

public static String encodeToString(byte[] input,
                                    int offset,
                                    int len,
                                    int flags)

encode

public static byte[] encode(byte[] input,
                            int flags)

encode

public static byte[] encode(byte[] input,
                            int offset,
                            int len,
                            int flags)


Copyright © 2008-2012. All Rights Reserved.