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

public class PrinterStream

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

The pure class interface.
public class PrinterStream
  extends Printer
An implementation of the Printer class which sends the output to a stream.

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

Constuctor Index

O PrinterStream(OutputStream)
Create a new printer stream.

Methods

O close()
Close down the output stream.
O printRawString(String)
Print on the output stream.

Constructors

O PrinterStream
public PrinterStream(OutputStream os);
Create a new printer stream.

Parameters:
os - the stream to send output to.

Methods

O printRawString
public void printRawString(String s);
Print on the output stream.

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

O close

public void close();
Close down the output stream.

Overrides:
close in class Printer


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