Module org.hsqldb

Class StringInputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class StringInputStream
    extends java.io.InputStream
    Minimal InputStream subclass to fetch bytes form a String.
    Author:
    Fred Toussi (fredt@users dot sourceforge.net)
    • Constructor Summary

      Constructors 
      Constructor Description
      StringInputStream​(java.lang.String s)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int available()  
      int read()  
      • Methods inherited from class java.io.InputStream

        close, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
      • Methods inherited from class java.lang.Object

        equals, 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
      • available

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