Apache CXF API

org.apache.cxf.attachment
Class DelegatingInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by org.apache.cxf.attachment.DelegatingInputStream
All Implemented Interfaces:
java.io.Closeable

public class DelegatingInputStream
extends java.io.InputStream


Method Summary
 int available()
           
 void close()
           
 java.io.InputStream getInputStream()
           
 boolean isClosed()
           
 void mark(int arg0)
           
 boolean markSupported()
           
 int read()
           
 int read(byte[] bytes)
           
 int read(byte[] bytes, int arg1, int arg2)
           
 void reset()
           
 void setClosed(boolean closed)
           
 void setInputStream(java.io.InputStream inputStream)
           
 long skip(long n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.InputStream
Throws:
java.io.IOException

isClosed

public boolean isClosed()

setClosed

public void setClosed(boolean closed)

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
Throws:
java.io.IOException

available

public int available()
              throws java.io.IOException
Overrides:
available in class java.io.InputStream
Throws:
java.io.IOException

mark

public void mark(int arg0)
Overrides:
mark in class java.io.InputStream

markSupported

public boolean markSupported()
Overrides:
markSupported in class java.io.InputStream

read

public int read(byte[] bytes,
                int arg1,
                int arg2)
         throws java.io.IOException
Overrides:
read in class java.io.InputStream
Throws:
java.io.IOException

read

public int read(byte[] bytes)
         throws java.io.IOException
Overrides:
read in class java.io.InputStream
Throws:
java.io.IOException

reset

public void reset()
           throws java.io.IOException
Overrides:
reset in class java.io.InputStream
Throws:
java.io.IOException

skip

public long skip(long n)
          throws java.io.IOException
Overrides:
skip in class java.io.InputStream
Throws:
java.io.IOException

setInputStream

public void setInputStream(java.io.InputStream inputStream)

getInputStream

public java.io.InputStream getInputStream()

Apache CXF API

Apache CXF