org.apache.james.mime4j.codec
Class QuotedPrintableInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by org.apache.james.mime4j.codec.QuotedPrintableInputStream
All Implemented Interfaces:
java.io.Closeable

public class QuotedPrintableInputStream
extends java.io.InputStream

Performs Quoted-Printable decoding on an underlying stream.


Constructor Summary
QuotedPrintableInputStream(java.io.InputStream stream)
           
 
Method Summary
 void close()
          Terminates Quoted-Printable coded content.
 int read()
           
 
Methods inherited from class java.io.InputStream
available, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuotedPrintableInputStream

public QuotedPrintableInputStream(java.io.InputStream stream)
Method Detail

close

public void close()
           throws java.io.IOException
Terminates Quoted-Printable coded content. This method does NOT close the underlying input stream.

Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.InputStream
Throws:
java.io.IOException - on I/O errors.

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
Throws:
java.io.IOException


Copyright © 2004-2011. All Rights Reserved.