uPortal 2.4.1
API Documentation

org.jasig.portal.utils
Class WriteableOutputStreamWrapper

java.lang.Object
  extended byorg.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

Constructor Summary
WriteableOutputStreamWrapper(java.io.OutputStream out)
           
 
Method Summary
 void close()
           
 void flush()
           
 void write(int i)
           
 void write(int[] ibuf)
           
 void write(int[] ibuf, int off, int len)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WriteableOutputStreamWrapper

public WriteableOutputStreamWrapper(java.io.OutputStream out)
Method Detail

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

uPortal 2.4.1
API Documentation