borland Packages  Class Hierarchy  jbcl.io Package  Index 

SimpleCharOutputStream class (abstract)

java.lang.Object
   +----borland.jbcl.io.SimpleCharOutputStream
           +----borland.jbcl.io.EncodedOutputStream
           +----borland.jbcl.io.AsciiOutputStream

About the SimpleCharOutputStream class

Properties  Methods  

This abstract class provides the ability to write complete strings, arbitrarily-delimited strings, and terminated lines.


SimpleCharOutputStream properties

*Read-only properties **Write-only properties

Properties implemented in java.lang.Object

SimpleCharOutputStream methods

Methods implemented in this class

Methods implemented in java.lang.Object


SimpleCharOutputStream methods

close()

  public abstract void close()
Closes the output stream. Should be the last operation done with this object. On error, this method throws an IOException.

write(int)

  public abstract void write(int ch)
Writes the value represented by ch to the output stream. On error, this method throws an IOException.

write(java.lang.String)

  public void write(java.lang.String string)
Writes all the characters in the given string to the output stream. On error, this method throws an IOException.

writeDelimited(java.lang.String, char)

  public void writeDelimited(java.lang.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.

writeln()

  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.

writeln(java.lang.String)

  public void writeln(java.lang.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, regardlesss of the current environment. On error, this method throws an IOException.