xdoclet.template
Class PrettyPrintWriter
PrintWriter
xdoclet.template.PrettyPrintWriter
public class PrettyPrintWriter
extends PrintWriter
Extends the PrintWriter class by adding the possibility of emiting empty lines.
- Andreas "Mad" Schaefer (andreas.schaefer@madplane.com)
- Ara Abrahamian (ara_e@email.com)
PrettyPrintWriter(OutputStream pOut) - Describe what the PrettyPrintWriter constructor does
|
PrettyPrintWriter(Writer pOut) - Describe what the PrettyPrintWriter constructor does
|
PrettyPrintWriter(Writer pOut, boolean pAutoFlush) - Describe what the PrettyPrintWriter constructor does
|
void | close() - Closes the output stream and writes the last line.
|
void | println()
|
void | write(String pText, int pOffset, int pLength) - Describe what the method does
|
void | write(int c)
|
void | write(pBuffer[] , int pOffset, int pLength) - Describe what the method does
|
protected void | writeLine()
|
LINE_SEPARATOR
public static final String LINE_SEPARATOR
Convenience variable for printing and matching line separators in a system portable manner.
LINE_SEPARATOR_LEN
public static final int LINE_SEPARATOR_LEN
PrettyPrintWriter
public PrettyPrintWriter(OutputStream pOut)
Describe what the PrettyPrintWriter constructor does
pOut
- Describe what the parameter does
PrettyPrintWriter
public PrettyPrintWriter(Writer pOut)
Describe what the PrettyPrintWriter constructor does
pOut
- Describe what the parameter does
PrettyPrintWriter
public PrettyPrintWriter(Writer pOut,
boolean pAutoFlush)
Describe what the PrettyPrintWriter constructor does
pOut
- Describe what the parameter doespAutoFlush
- Describe what the parameter does
close
public void close()
Closes the output stream and writes the last line.
println
public void println()
write
public void write(String pText,
int pOffset,
int pLength)
Describe what the method does
pText
- Describe what the parameter doespOffset
- Describe what the parameter doespLength
- Describe what the parameter does
write
public void write(int c)
write
public void write(pBuffer[] ,
int pOffset,
int pLength)
Describe what the method does
pOffset
- Describe what the parameter doespLength
- Describe what the parameter does
writeLine
protected void writeLine()