|
ESC/Java2 © 2003,2004,2005,2006 David Cok and Joseph Kiniry © 2005,2006 UCD Dublin © 2003,2004 Radboud University Nijmegen © 1999,2000 Compaq Computer Corporation © 1997,1998,1999 Digital Equipment Corporation All Rights Reserved |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
escjava.prover.PPOutputStream
This class is a FilterOutputStream class designed for LISP-like input; it pretty prints the output by inserting spaces and newlines into the stream.
| Field Summary | |
private boolean |
inComment
|
(package private) static int |
lp
|
private int |
parenDepth
|
private boolean |
recentNL
|
(package private) static int |
rp
|
| Fields inherited from class java.io.FilterOutputStream |
out |
| Constructor Summary | |
PPOutputStream(java.io.OutputStream out)
Creates an output stream filter built on top of an underlying output streams. |
|
| Method Summary | |
void |
write(int b)
Writes the specified byte to this output stream.
|
| Methods inherited from class java.io.FilterOutputStream |
close, flush, write, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private int parenDepth
private boolean inComment
private boolean recentNL
static final int lp
static final int rp
| Constructor Detail |
public PPOutputStream(java.io.OutputStream out)
out - the underlying output stream| Method Detail |
public void write(int b)
throws java.io.IOException
byte to this output stream.
Implements the abstract write method of OutputStream.
b - the byte.
java.io.IOException - if an I/O error occurs.
|
ESC/Java2 © 2003,2004,2005,2006 David Cok and Joseph Kiniry © 2005,2006 UCD Dublin © 2003,2004 Radboud University Nijmegen © 1999,2000 Compaq Computer Corporation © 1997,1998,1999 Digital Equipment Corporation All Rights Reserved |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||