JavaScript is disabled on your browser.
gnu.mail.util

Class QPInputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Direct Known Subclasses:
    QInputStream


    public class QPInputStream
    extends java.io.FilterInputStream
    A Quoted-Printable decoder stream.
    • Field Summary

      Fields
      Modifier and Type Field and Description
      protected int spaceCount
      The number of times read() will return a space.
      • Fields inherited from class java.io.FilterInputStream

        in
    • Constructor Summary

      Constructors
      Constructor and Description
      QPInputStream (java.io.InputStream in)
      Constructor.
    • Method Summary

      Methods
      Modifier and Type Method and Description
      int available ()
      Returns the number of bytes that can be read without blocking.
      boolean markSupported ()
      Mark is not supported.
      int read ()
      Read a character from the stream.
      int read (byte[] bytes, int off, int len)
      Reads from the underlying stream into the specified byte array.
      • Methods inherited from class java.io.FilterInputStream

        close, mark, read, reset, skip
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • spaceCount

        protected int spaceCount
        The number of times read() will return a space.
    • Constructor Detail

      • QPInputStream

        public QPInputStream(java.io.InputStream in)
        Constructor.
        Parameters:
        in - the underlying input stream.
    • Method Detail

      • read

        public int read()
         throws java.io.IOException
        Read a character from the stream.
        Overrides:
        read in class java.io.FilterInputStream
        Throws:
        java.io.IOException
      • read

        public int read(byte[] bytes,
         int off,
         int len)
         throws java.io.IOException
        Reads from the underlying stream into the specified byte array.
        Overrides:
        read in class java.io.FilterInputStream
        Throws:
        java.io.IOException
      • markSupported

        public boolean markSupported()
        Mark is not supported.
        Overrides:
        markSupported in class java.io.FilterInputStream
      • available

        public int available()
         throws java.io.IOException
        Returns the number of bytes that can be read without blocking.
        Overrides:
        available in class java.io.FilterInputStream
        Throws:
        java.io.IOException

AltStyle によって変換されたページ (->オリジナル) /