FreeHEP API
Version current

org.freehep.util.io
Class Base64OutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byjava.io.FilterOutputStream
          extended byorg.freehep.util.io.Base64OutputStream
All Implemented Interfaces:
FinishableOutputStream

public class Base64OutputStream
extends FilterOutputStream
implements FinishableOutputStream

The Base64OutputStream encodes binary data according to RFC 2045.

Version:
$Id: Base64OutputStream.java,v 1.1 2003/04/12 19:10:49 duns Exp $
Author:
Mark Donszelmann
Source Code:
Base64OutputStream.java

Field Summary
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
Base64OutputStream(OutputStream out)
           
 
Method Summary
 void close()
           
 void finish()
           
 void write(int a)
           
 
Methods inherited from class java.io.FilterOutputStream
flush, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base64OutputStream

public Base64OutputStream(OutputStream out)
Method Detail

write

public void write(int a)
           throws IOException
Throws:
IOException

finish

public void finish()
            throws IOException
Specified by:
finish in interface FinishableOutputStream
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.