Top Description Fields Constructors Methods
org.bouncycastle.mime.encoding

public Class QuotedPrintableInputStream

extends FilterInputStream
Class Inheritance
Imports
java.io.FilterInputStream, .IOException, .InputStream

Input stream that processes quoted-printable data, converting it into what was originally intended.

Field Summary

Inherited from java.io.FilterInputStream:
in

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
read(byte[]
the buffer into which the data is read.
buf
,
int
the start offset in array b at which the data is written.
bufOff
,
int
the maximum number of bytes to read.
len
)

Overrides java.io.FilterInputStream.read.

Reads up to len bytes of data from this input stream into an array of bytes.
public int
read()

Overrides java.io.FilterInputStream.read.

Reads the next byte of data from the input stream.
Inherited from java.io.FilterInputStream:
availableclosemarkmarkSupportedreadresetskip

Constructor Detail

QuotedPrintableInputStreamback to summary
public QuotedPrintableInputStream(InputStream input)

Method Detail

readback to summary
public int read(byte[] buf, int bufOff, int len) throws IOException

Overrides java.io.FilterInputStream.read.

Doc from java.io.FilterInputStream.read.

Reads up to len bytes of data from this input stream into an array of bytes. If len is not zero, the method blocks until some input is available; otherwise, no bytes are read and 0 is returned.

Parameters
buf:byte[]

the buffer into which the data is read.

bufOff:int

the start offset in array b at which the data is written.

len:int

the maximum number of bytes to read.

Returns:int

the total number of bytes read into the buffer, or -1 if there is no more data because the end of the stream has been reached.

Exceptions
IOException:
if an I/O error occurs.
readback to summary
public int read() throws IOException

Overrides java.io.FilterInputStream.read.

Doc from java.io.FilterInputStream.read.

Reads the next byte of data from the input stream. The value byte is returned as an int in the range 0 to 255. If no byte is available because the end of the stream has been reached, the value -1 is returned. This method blocks until input data is available, the end of the stream is detected, or an exception is thrown.

Returns:int

the next byte of data, or -1 if the end of the stream is reached.

Exceptions
IOException:
if an I/O error occurs.