org.pentaho.reporting.libraries.repository.stream
Class WrappedOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by org.pentaho.reporting.libraries.repository.stream.WrappedOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class WrappedOutputStream
extends OutputStream

Creation-Date: 13.11.2006, 17:30:06

Author:
Thomas Morgner

Constructor Summary
WrappedOutputStream(OutputStream stream)
           
 
Method Summary
 void close()
           
 void flush()
           
 boolean isClosed()
           
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WrappedOutputStream

public WrappedOutputStream(OutputStream stream)
Method Detail

write

public void write(int b)
           throws IOException
Specified by:
write in class OutputStream
Throws:
IOException

write

public void write(byte[] b)
           throws IOException
Overrides:
write in class OutputStream
Throws:
IOException

write

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

flush

public void flush()
           throws IOException
Specified by:
flush in interface Flushable
Overrides:
flush in class OutputStream
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class OutputStream
Throws:
IOException

isClosed

public boolean isClosed()