borland.jbcl Packages borland.jbcl Class Hierarchy borland.jbcl.io
java.lang.Object +----borland.jbcl.io.SimpleCharOutputStream +----borland.jbcl.io.AsciiOutputStream
Constructors Properties Methods
An implementation of SimpleCharOutputStream 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 AsciiOutputStream(java.io.OutputStream out)Creates a new buffered stream with a default buffer size.
Parameters:
public AsciiOutputStream(java.io.OutputStream out, int bufferLength)Creates a new buffered stream with the specified buffer size.
Parameters:
public void close()
Overrides: borland.jbcl.io.SimpleCharOutputStream.close()
public void flush()
public void write(int ch)Writes a char. This method will block until the byte is actually written.
If an I/O error occurrs, write(int) throws an IOException.
Parameters:
Overrides: borland.jbcl.io.SimpleCharOutputStream.write(int)