org.mule.transport.cxf.support
Class DelegatingOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by org.mule.transport.cxf.support.DelegatingOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class DelegatingOutputStream
extends OutputStream


Constructor Summary
DelegatingOutputStream(OutputStream outputStream)
           
 
Method Summary
 void close()
           
 boolean equals(Object obj)
           
 void flush()
           
 OutputStream getOutputStream()
           
 int hashCode()
           
 void setOutputStream(OutputStream outputStream)
           
 String toString()
           
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DelegatingOutputStream

public DelegatingOutputStream(OutputStream outputStream)
Method Detail

getOutputStream

public OutputStream getOutputStream()

setOutputStream

public void setOutputStream(OutputStream outputStream)

close

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

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

flush

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

write

public void write(byte[] b,
                  int off,
                  int len)
           throws IOException
Overrides:
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(int b)
           throws IOException
Specified by:
write in class OutputStream
Throws:
IOException


Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.