org.hsqldb.lib
Class StringInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byorg.hsqldb.lib.StringInputStream
Direct Known Subclasses:
AsciiStringInputStream

public class StringInputStream
extends InputStream

minimal InputStream subclass to fetch bytes form a String

Version:
1.7.0
Author:
fredt@users

Field Summary
protected  int available
           
protected  int charOffset
           
protected  String str
           
protected  int strOffset
           
 
Constructor Summary
StringInputStream(String s)
           
 
Method Summary
 int available()
           
 int read()
           
 
Methods inherited from class java.io.InputStream
close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

strOffset

protected int strOffset

charOffset

protected int charOffset

available

protected int available

str

protected String str
Constructor Detail

StringInputStream

public StringInputStream(String s)
Method Detail

read

public int read()
         throws IOException
Throws:
IOException

available

public int available()
              throws IOException
Throws:
IOException


Copyright © 2001 - 2004 HSQL Development Group. All Rights Reserved.