borland Packages Class Hierarchy jbcl.io Package Index
java.lang.Object +----borland.jbcl.io.SimpleCharInputStream +----borland.jbcl.io.AsciiInputStream +----borland.jbcl.io.EncodedInputStream
Properties Methods
This abstract class provides the capability of reading input one line at a time. This class is used by AsciiEncodedInputStream and AsciiEncodedOutputStream classes.
public abstract void close()Closes the input stream. Should be the last operation done with this object. On error, this method throws an IOExeption.
public abstract int read()Reads a byte of data. This method will block if no input is available. This method returns the byte read, or -1 if the end of the stream is reached. If an I/O error occurs, this method throws an IOException.
public String readLine()Reads a complete line of text, which is defined as a line terminated with a line-feed character or with a carriage-return/linefeed pair. Carriage returns that are not immediately followed by a linefeed character are not treated as line terminators but as part of the current line. On error this method throws an IOExeption.
public abstract void unread(int ch)"Pushes" the given character back into the input buffer so the next read() will return it. On error this method throws an IOExeption.