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

Class UUOutputStream

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


    public class UUOutputStream
    extends java.io.FilterOutputStream
    UU encoding output stream.
    • Field Summary

      • Fields inherited from class java.io.FilterOutputStream

        out
    • Constructor Summary

      Constructors
      Constructor and Description
      UUOutputStream (java.io.OutputStream out)
      Default constructor.
      UUOutputStream (java.io.OutputStream out, java.lang.String filename)
      Constructor with filename.
      UUOutputStream (java.io.OutputStream out, java.lang.String filename, int mode)
      Constructor with filename and mode.
    • Method Summary

      Methods
      Modifier and Type Method and Description
      void close ()
      void write (byte[] buf)
      void write (byte[] buf, int off, 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
    • Constructor Detail

      • UUOutputStream

        public UUOutputStream(java.io.OutputStream out)
        Default constructor. This writes a UU encoded file with the filename "file".
      • UUOutputStream

        public UUOutputStream(java.io.OutputStream out,
         java.lang.String filename)
        Constructor with filename.
        Parameters:
        filename - the filename to encode into the UU file.
      • UUOutputStream

        public UUOutputStream(java.io.OutputStream out,
         java.lang.String filename,
         int mode)
        Constructor with filename and mode.
        Parameters:
        filename - the filename to encode into the UU file.
        mode - the file mode to encode
    • Method Detail

      • close

        public void close()
         throws java.io.IOException
        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
      • 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[] buf)
         throws java.io.IOException
        Overrides:
        write in class java.io.FilterOutputStream
        Throws:
        java.io.IOException
      • write

        public void write(byte[] buf,
         int off,
         int len)
         throws java.io.IOException
        Overrides:
        write in class java.io.FilterOutputStream
        Throws:
        java.io.IOException

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