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
Performs Quoted-Printable decoding on an underlying stream.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final ThreadLocal<SoftReference<BufferRecycler>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedQuotedPrintableInputStream(int bufsize, InputStream in, boolean strict) protectedQuotedPrintableInputStream(int bufsize, InputStream in, DecodeMonitor monitor) QuotedPrintableInputStream(InputStream in, boolean strict) QuotedPrintableInputStream(InputStream in, DecodeMonitor monitor) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Terminates Quoted-Printable coded content.static BufferRecyclerintread()intread(byte[] b, int off, int len) Methods inherited from class java.io.InputStream
available, mark, markSupported, read, reset, skip
-
Field Details
-
_recyclerRef
-
-
Constructor Details
-
QuotedPrintableInputStream
-
QuotedPrintableInputStream
-
QuotedPrintableInputStream
-
QuotedPrintableInputStream
-
QuotedPrintableInputStream
-
-
Method Details
-
getBufferRecycler
-
close
public void close()Terminates Quoted-Printable coded content. This method does NOT close the underlying input stream.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-