|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ontopia.net.Base64Decoder
public class Base64Decoder
INTERNAL: This class contains methods for encoding base64 streams. Base64 encoding is described in section 6.8 of RFC 2045.
Constructor Summary | |
---|---|
Base64Decoder()
|
Method Summary | |
---|---|
static int |
decode(char[] input,
int offset,
int length,
byte[] output)
INTERNAL: Decodes the characters in input to the output byte array, returning the number of bytes written. |
static void |
decode(InputStream istream,
OutputStream ostream)
INTERNAL: Decode input stream and write result to output stream. |
static String |
decode(String string)
INTERNAL: Decode string and return result as a string. |
static void |
decode(String string,
OutputStream ostream)
INTERNAL: Decode string and write result to output stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Base64Decoder()
Method Detail |
---|
public static String decode(String string) throws IOException
IOException
public static void decode(String string, OutputStream ostream) throws IOException
IOException
public static int decode(char[] input, int offset, int length, byte[] output)
public static void decode(InputStream istream, OutputStream ostream) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |