public class Base64InputStream extends FilterInputStream
Base64InputStream will read data from another
InputStream, given in the constructor, and encode
to Base64 notation on the fly.Base64in| Constructor and Description |
|---|
Base64InputStream(InputStream in,
int options)
An InputStream that performs Base64 decoding on the data read from the wrapped stream.
|
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] dest,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
readpublic Base64InputStream(InputStream in, int options)
in - the InputStream to read the source data fromoptions - bit flags for controlling the decoder; see the constants in Base64public int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] dest,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamIOExceptionpublic int available()
throws IOException
available in class FilterInputStreamIOExceptionpublic boolean markSupported()
markSupported in class FilterInputStreampublic void mark(int readlimit)
mark in class FilterInputStreampublic long skip(long n)
throws IOException
skip in class FilterInputStreamIOExceptionpublic void reset()
throws IOException
reset in class FilterInputStreamIOExceptionCopyright © 2017. All rights reserved.