org.jasig.portal.utils
Class WriteableOutputStreamWrapper
java.lang.Object
org.jasig.portal.utils.WriteableOutputStreamWrapper
- All Implemented Interfaces:
- IWriteable
- public class WriteableOutputStreamWrapper
- extends java.lang.Object
- implements IWriteable
A simple wrapper to present IWriteable
interface for a regular java.io.OutputStream
.
- Version:
- $Revision: 1.5 $
- Author:
- Peter Kharchenko
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WriteableOutputStreamWrapper
public WriteableOutputStreamWrapper(java.io.OutputStream out)
write
public void write(int i)
throws java.io.IOException
- Specified by:
write
in interface IWriteable
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Specified by:
flush
in interface IWriteable
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface IWriteable
- Throws:
java.io.IOException
write
public void write(int[] ibuf,
int off,
int len)
throws java.io.IOException
- Specified by:
write
in interface IWriteable
- Throws:
java.io.IOException
write
public void write(int[] ibuf)
throws java.io.IOException
- Specified by:
write
in interface IWriteable
- Throws:
java.io.IOException