org.apache.james.mime4j.codec
Class QuotedPrintableInputStream
java.lang.Object
java.io.InputStream
org.apache.james.mime4j.codec.QuotedPrintableInputStream
- All Implemented Interfaces:
- Closeable
public class QuotedPrintableInputStream
- extends InputStream
Performs Quoted-Printable decoding on an underlying stream.
Method Summary |
void |
close()
Terminates Quoted-Printable coded content. |
int |
read()
|
int |
read(byte[] b,
int off,
int len)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
close
public void close()
throws IOException
- Terminates Quoted-Printable coded content. This method does NOT close
the underlying input stream.
- Specified by:
close
in interface Closeable
- Overrides:
close
in class InputStream
- Throws:
IOException
- on I/O errors.
read
public int read()
throws IOException
- Specified by:
read
in class InputStream
- Throws:
IOException
read
public int read(byte[] b,
int off,
int len)
throws IOException
- Overrides:
read
in class InputStream
- Throws:
IOException
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.