Class UtilsBase64.OutputStream

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

    public class UtilsBase64.OutputStream
    extends java.io.FilterOutputStream

    Class for storing the encoded bytes.

    Project:

    Horizontal platform to generation signature reports in legible format.

    Version:
    1.0, 21/11/2011.
    • Constructor Summary

      Constructors 
      Constructor Description
      OutputStream​(java.io.OutputStream outputstream)
      Constructor method for the class OutputStream.java.
      OutputStream​(java.io.OutputStream outputstream, boolean flag)
      Constructor method for the class UtilsBase64.java.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      void flush()
      void write​(byte[] abyte0, int i, int j)
      void write​(int i)
      • Methods inherited from class java.io.FilterOutputStream

        write
      • Methods inherited from class java.io.OutputStream

        nullOutputStream
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OutputStream

        public OutputStream​(java.io.OutputStream outputstream)
        Constructor method for the class OutputStream.java.
        Parameters:
        outputstream - Output stream.
      • OutputStream

        public OutputStream​(java.io.OutputStream outputstream,
                            boolean flag)
        Constructor method for the class UtilsBase64.java.
        Parameters:
        outputstream - Output stream.
        flag - Indicates if the bytes is encoded.
    • Method Detail

      • write

        public void write​(int i)
                   throws java.io.IOException
        Overrides:
        write in class java.io.FilterOutputStream
        Throws:
        java.io.IOException
        See Also:
        FilterOutputStream.write(int)
      • write

        public void write​(byte[] abyte0,
                          int i,
                          int j)
                   throws java.io.IOException
        Overrides:
        write in class java.io.FilterOutputStream
        Throws:
        java.io.IOException
        See Also:
        FilterOutputStream.write(byte[], int, int)
      • flush

        public void flush()
                   throws java.io.IOException
        Specified by:
        flush in interface java.io.Flushable
        Overrides:
        flush in class java.io.FilterOutputStream
        Throws:
        java.io.IOException
        See Also:
        FilterOutputStream.flush()
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Overrides:
        close in class java.io.FilterOutputStream
        Throws:
        java.io.IOException
        See Also:
        FilterOutputStream.close()