[all packages] [package ] [class hierarchy] [index]

public class PrinterStringBuffer

(source file: PrinterStringBuffer.java)
java.lang.Object
   |
   +----Printer
           |
           +----PrinterStringBuffer

The pure class interface.
public class PrinterStringBuffer
  extends Printer
An implementation of the Printer class which sends all output to a string buffer.

Author:
Alan Jeffrey
Version: v1.0 1998/06/02

Constuctor Index

O PrinterStringBuffer()
Create a new printer which stores the output.

Methods

O printRawString(String)
Append a string to the buffer.
O toString()
Convert the string buffer back to a string. @result the contents of the string buffer.

Constructors

O PrinterStringBuffer
public PrinterStringBuffer();
Create a new printer which stores the output.

Methods

O printRawString
public void printRawString(String s);
Append a string to the buffer.

Parameters:
s - the string to append.
Overrides:
printRawString in class Printer

O toString

public String toString();
Convert the string buffer back to a string. @result the contents of the string buffer.

Overrides:
toString in class Object


[all packages] [package ] [class hierarchy] [index]
PrinterStringBuffer.html