public class Base64InputStream
extends java.io.FilterInputStream
| Constructor and Description |
|---|
Base64InputStream(java.io.InputStream in,
int flags)
An InputStream that performs Base64 decoding on the data read
from the wrapped stream.
|
Base64InputStream(java.io.InputStream in,
int flags,
boolean encode)
Performs Base64 encoding or decoding on the data read from the
wrapped InputStream.
|
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
public Base64InputStream(java.io.InputStream in,
int flags)
in - the InputStream to read the source data fromflags - bit flags for controlling the decoder; see the
constants in Base64public Base64InputStream(java.io.InputStream in,
int flags,
boolean encode)
in - the InputStream to read the source data fromflags - bit flags for controlling the decoder; see the
constants in Base64encode - true to encode, false to decodepublic boolean markSupported()
markSupported in class java.io.FilterInputStreampublic void mark(int readlimit)
mark in class java.io.FilterInputStreampublic void reset()
reset in class java.io.FilterInputStreampublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.FilterInputStreamjava.io.IOExceptionpublic int available()
available in class java.io.FilterInputStreampublic long skip(long n)
throws java.io.IOException
skip in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOException