org.objectweb.telosys.upload
Class PartInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byjava.io.FilterInputStream
          extended byorg.objectweb.telosys.upload.PartInputStream

public class PartInputStream
extends java.io.FilterInputStream

A PartInputStream filters a ServletInputStream


Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Method Summary
 int available()
          Returns the number of bytes that can be read from this input stream
 void close()
          Closes this input stream and releases any system resources associated
 int read()
          Read method
 int read(byte[] b)
          Read method
 int read(byte[] b, int off, int len)
          Read method
 
Methods inherited from class java.io.FilterInputStream
mark, markSupported, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

read

public int read()
         throws java.io.IOException
Read method

Throws:
java.io.IOException

read

public int read(byte[] b)
         throws java.io.IOException
Read method

Throws:
java.io.IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws java.io.IOException
Read method

Throws:
java.io.IOException

available

public int available()
              throws java.io.IOException
Returns the number of bytes that can be read from this input stream

Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Closes this input stream and releases any system resources associated

Throws:
java.io.IOException