borland.jbcl Packages borland.jbcl Class Hierarchy borland.jbcl.io
java.lang.Object +----borland.jbcl.io.SimpleCharInputStream +----borland.jbcl.io.AsciiInputStream
Constructors Properties Methods
An implementation of SimpleCharInputStream that is optimized for data where most of the characters belong to either the ASCII character set or the 8859_1 character set. Other characters are assumed to be encoded in Unicode escapes.
public AsciiInputStream(java.io.InputStream in)Creates a new buffered stream with a default buffer size.
Parameters:
public AsciiInputStream(java.io.InputStream in, int size)Creates a new buffered stream with the specified buffer size.
Parameters:
public void close()
Overrides: borland.jbcl.io.SimpleCharInputStream.close()
public int read()Reads a byte of data. This method will block if no input is available.
read() returns the byte read, or -1 if the end of the stream is reached. If an I/O error occurrs, read() throws an IOException.
Overrides: borland.jbcl.io.SimpleCharInputStream.read()
public void unread(int undoChar)
Overrides: borland.jbcl.io.SimpleCharInputStream.unread(int)