com.caucho.vfs
Class TempInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by com.caucho.vfs.TempInputStream
All Implemented Interfaces:
java.io.Closeable

public class TempInputStream
extends java.io.InputStream


Constructor Summary
TempInputStream(TempBuffer head)
           
 
Method Summary
 int available()
           
 void close()
           
 int read()
           
 int read(byte[] buf, int offset, int length)
           
 java.lang.String toString()
           
 
Methods inherited from class java.io.InputStream
mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TempInputStream

public TempInputStream(TempBuffer head)
Method Detail

read

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

read

public int read(byte[] buf,
                int offset,
                int length)
         throws java.io.IOException
Overrides:
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

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object