org.apache.tapestry5.internal.util
Class Base64OutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.ByteArrayOutputStream
          extended by org.apache.tapestry5.internal.util.Base64OutputStream
All Implemented Interfaces:
Closeable, Flushable

public final class Base64OutputStream
extends ByteArrayOutputStream

An extension of ByteArrayOutputStream that allows the final byte array to be converted to a Base64 string.


Field Summary
 
Fields inherited from class java.io.ByteArrayOutputStream
buf, count
 
Constructor Summary
Base64OutputStream()
           
 
Method Summary
 String toBase64()
           
 
Methods inherited from class java.io.ByteArrayOutputStream
close, reset, size, toByteArray, toString, toString, toString, write, write, writeTo
 
Methods inherited from class java.io.OutputStream
flush, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Base64OutputStream

public Base64OutputStream()
Method Detail

toBase64

public String toBase64()


Copyright © 2003-2012 The Apache Software Foundation.