com.caucho.quercus.env
Class StringInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by com.caucho.quercus.env.StringInputStream
All Implemented Interfaces:
java.io.Closeable

public class StringInputStream
extends java.io.InputStream

Represents an ISO-8859-1 input stream.


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

Constructor Detail

StringInputStream

public StringInputStream(java.lang.String s)
Method Detail

read

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

read

public int read(byte[] buffer,
                int offset,
                int length)
Overrides:
read in class java.io.InputStream