aQute.lib.base64
Class Base64

java.lang.Object
  extended by aQute.lib.base64.Base64

public class Base64
extends Object


Constructor Summary
Base64(byte[] data)
           
Base64(String s)
           
 
Method Summary
static void decode(Reader rdr, OutputStream out)
           
static byte[] decodeBase64(String string)
           
static void encode(InputStream in, Appendable sb)
           
static String encodeBase64(byte[] data)
           
static boolean isBase64(String value)
           
 Object toData()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Base64

public Base64(byte[] data)

Base64

public Base64(String s)
Method Detail

decodeBase64

public static final byte[] decodeBase64(String string)

decode

public static final void decode(Reader rdr,
                                OutputStream out)
                         throws Exception
Throws:
Exception

toString

public String toString()
Overrides:
toString in class Object

encodeBase64

public static String encodeBase64(byte[] data)

toData

public Object toData()

encode

public static void encode(InputStream in,
                          Appendable sb)
                   throws IOException
Throws:
IOException

isBase64

public static boolean isBase64(String value)


Copyright © 2014 aQute SARL. All rights reserved.