Package org.apache.james.mime4j.codec
Class QuotedPrintableInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.apache.james.mime4j.codec.QuotedPrintableInputStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class QuotedPrintableInputStream extends InputStream
Performs Quoted-Printable decoding on an underlying stream.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedQuotedPrintableInputStream(int bufsize, InputStream in, boolean strict)protectedQuotedPrintableInputStream(int bufsize, InputStream in, DecodeMonitor monitor)QuotedPrintableInputStream(InputStream in)QuotedPrintableInputStream(InputStream in, boolean strict)QuotedPrintableInputStream(InputStream in, DecodeMonitor monitor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Terminates Quoted-Printable coded content.intread()intread(byte[] b, int off, int len)-
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-
-
-
Constructor Detail
-
QuotedPrintableInputStream
public QuotedPrintableInputStream(InputStream in, DecodeMonitor monitor)
-
QuotedPrintableInputStream
protected QuotedPrintableInputStream(int bufsize, InputStream in, DecodeMonitor monitor)
-
QuotedPrintableInputStream
protected QuotedPrintableInputStream(int bufsize, InputStream in, boolean strict)
-
QuotedPrintableInputStream
public QuotedPrintableInputStream(InputStream in, boolean strict)
-
QuotedPrintableInputStream
public QuotedPrintableInputStream(InputStream in)
-
-
Method Detail
-
close
public void close() throws IOExceptionTerminates Quoted-Printable coded content. This method does NOT close the underlying input stream.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException- on I/O errors.
-
read
public int read() throws IOException- Specified by:
readin classInputStream- Throws:
IOException
-
read
public int read(byte[] b, int off, int len) throws IOException- Overrides:
readin classInputStream- Throws:
IOException
-
-