org.pentaho.reporting.libraries.repository.stream
Class WrappedOutputStream
java.lang.Object
java.io.OutputStream
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
WrappedOutputStream
public WrappedOutputStream(OutputStream stream)
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()