JavaScript is disabled on your browser.
  • Detail:
  • Field |
  • Constr |
  • Method
gnu.inet.nntp

Class PostStream

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable


    public final class PostStream
    extends java.io.FilterOutputStream
    A stream to which article contents should be written.
    • Field Summary

      • Fields inherited from class java.io.FilterOutputStream

        out
    • Method Summary

      Methods
      Modifier and Type Method and Description
      void close ()
      Close the stream.
      void write (byte[] bytes)
      void write (byte[] bytes, int pos, int len)
      void write (int c)
      • Methods inherited from class java.io.FilterOutputStream

        flush
      • Methods inherited from class java.lang.Object

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

      • write

        public void write(int c)
         throws java.io.IOException
        Overrides:
        write in class java.io.FilterOutputStream
        Throws:
        java.io.IOException
      • write

        public void write(byte[] bytes)
         throws java.io.IOException
        Overrides:
        write in class java.io.FilterOutputStream
        Throws:
        java.io.IOException
      • write

        public void write(byte[] bytes,
         int pos,
         int len)
         throws java.io.IOException
        Overrides:
        write in class java.io.FilterOutputStream
        Throws:
        java.io.IOException
      • close

        public void close()
         throws java.io.IOException
        Close the stream. This calls NNTPConnection.postComplete().
        Specified by:
        close in interface java.io.Closeable
        Specified by:
        close in interface java.lang.AutoCloseable
        Overrides:
        close in class java.io.FilterOutputStream
        Throws:
        java.io.IOException
  • Detail:
  • Field |
  • Constr |
  • Method

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