Class Base64Buffer


  • public class Base64Buffer
    extends java.lang.Object
    Buffer to capture the output data as a Base64 string.
    Author:
    Daniel Sagenschneider
    • Constructor Summary

      Constructors 
      Constructor Description
      Base64Buffer()
      Instantiate.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBase64Text()
      Obtains the Base64 text.
      java.io.OutputStream getOutputStream()
      Obtains the OutputStream to write data.
      • Methods inherited from class java.lang.Object

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

      • Base64Buffer

        public Base64Buffer()
        Instantiate.
    • Method Detail

      • getOutputStream

        public java.io.OutputStream getOutputStream()
        Obtains the OutputStream to write data.
        Returns:
        OutputStream to write data.
      • getBase64Text

        public java.lang.String getBase64Text()
                                       throws java.io.IOException
        Obtains the Base64 text.
        Returns:
        Base64 text.
        Throws:
        java.io.IOException - If fails to obtain Base64.