[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
- PrinterStream(OutputStream)
-
Create a new printer stream.
- close()
-
Close down the output stream.
- printRawString(String)
-
Print on the output stream.
PrinterStream
public PrinterStream(OutputStream os);
-
Create a new printer stream.
- Parameters:
- os - the stream to send output to.
printRawString
public void printRawString(String s);
-
Print on the output stream.
- Parameters:
- s - the string to print.
- Overrides:
- printRawString in class Printer
close
public void close();
-
Close down the output stream.
- Overrides:
- close in class Printer
[all packages]
[package ]
[class hierarchy]
[index]
PrinterStream.html