xdoclet.template
public class PrettyPrintWriter extends java.io.PrintWriter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LINE_SEPARATOR
Convenience variable for printing and matching line separators in a system portable manner.
|
static int |
LINE_SEPARATOR_LEN |
Constructor and Description |
---|
PrettyPrintWriter(java.io.OutputStream pOut)
Describe what the PrettyPrintWriter constructor does
|
PrettyPrintWriter(java.io.Writer pOut)
Describe what the PrettyPrintWriter constructor does
|
PrettyPrintWriter(java.io.Writer pOut,
boolean pAutoFlush)
Describe what the PrettyPrintWriter constructor does
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the output stream and writes the last line.
|
void |
println() |
void |
write(char[] pBuffer,
int pOffset,
int pLength)
Describe what the method does
|
void |
write(int c) |
void |
write(java.lang.String pText,
int pOffset,
int pLength)
Describe what the method does
|
protected void |
writeLine() |
append, append, append, checkError, clearError, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, setError, write, write
public static final java.lang.String LINE_SEPARATOR
public static final int LINE_SEPARATOR_LEN
public PrettyPrintWriter(java.io.OutputStream pOut)
pOut
- Describe what the parameter doespublic PrettyPrintWriter(java.io.Writer pOut)
pOut
- Describe what the parameter doespublic PrettyPrintWriter(java.io.Writer pOut, boolean pAutoFlush)
pOut
- Describe what the parameter doespAutoFlush
- Describe what the parameter doespublic void close()
close
in interface java.io.Closeable
close
in class java.io.PrintWriter
public void write(char[] pBuffer, int pOffset, int pLength)
write
in class java.io.PrintWriter
pBuffer
- Describe what the parameter doespOffset
- Describe what the parameter doespLength
- Describe what the parameter doespublic void write(int c)
write
in class java.io.PrintWriter
public void write(java.lang.String pText, int pOffset, int pLength)
write
in class java.io.PrintWriter
pText
- Describe what the parameter doespOffset
- Describe what the parameter doespLength
- Describe what the parameter doespublic void println()
println
in class java.io.PrintWriter
protected void writeLine()