borland Packages Class Hierarchy jb.io Package
java.lang.Object +----com.borland.jb.io.SimpleCharOutputStream +----com.borland.jb.io.AsciiOutputStream +----com.borland.jb.io.EncodedOutputStream
Properties Methods
This abstract class provides subclasses with the ability to write complete strings, arbitrarily-delimited strings, and terminated lines.
public abstract void close()Closes the output stream. Should be the last operation done with this object. On error, this method throws an
IOException
.
public abstract void write(int ch)Writes the value represented by
ch
to the output stream. On error, this method throws an IOException
.
ch
public void write(String string)Writes all the characters in the given string to the output stream. On error, this method throws an
IOException
.
string
public void writeDelimited(String string, char delimiter)Writes a string with the given delimiter. Each occurrance of the given delimiter is escaped by repeating the delimiter. On error, this method throws an
IOException
.
string
delimiter
string
.
public void writeln()Writes out a line delimiter. The line delimiter in this case is a fixed line-feed character, regardless of the line-terminating convention of the current environment. On error, this method throws an
IOException
.
public void writeln(String string)Writes the given string and follows it with a line feed. The line delimiter in this case is a fixed line-feed character, regardless of the line-terminating convention of the current environment. On error, this method throws an
IOException
.
string