1 30 31 32 package org.hsqldb.lib; 33 34 import java.io.IOException ; 35 36 43 public class AsciiStringInputStream extends StringInputStream { 44 45 public AsciiStringInputStream(String s) { 46 super(s); 47 } 48 49 public int read() throws java.io.IOException { 50 51 super.read(); 52 53 return super.read(); 54 } 55 56 public int available() throws IOException { 57 return available / 2; 58 } 59 } 60 | Popular Tags |