FreeHEP API
Version current

org.freehep.util.io
Class WriterOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byorg.freehep.util.io.WriterOutputStream

public class WriterOutputStream
extends OutputStream

The WriterOutputStream makes a Writer look like an OutputStream.

Version:
$Id: WriterOutputStream.java,v 1.1 2003/04/13 05:34:45 duns Exp $
Author:
Mark Donszelmann
Source Code:
WriterOutputStream.java

Constructor Summary
WriterOutputStream(Writer writer)
           
 
Method Summary
 void close()
           
 void flush()
           
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WriterOutputStream

public WriterOutputStream(Writer writer)
Method Detail

write

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

write

public void write(byte[] b)
           throws IOException
Throws:
IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException

flush

public void flush()
           throws IOException
Throws:
IOException

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.