xdoclet.template

Class PrettyPrintWriter


public class PrettyPrintWriter
extends PrintWriter

Field Summary

static String
LINE_SEPARATOR
static int
LINE_SEPARATOR_LEN

Constructor Summary

PrettyPrintWriter(OutputStream pOut)
PrettyPrintWriter(Writer pOut)
PrettyPrintWriter(Writer pOut, boolean pAutoFlush)

Method Summary

void
close()
void
println()
void
write(String pText, int pOffset, int pLength)
void
write(int c)
void
write(pBuffer[] , int pOffset, int pLength)
protected void
writeLine()

Field Details

LINE_SEPARATOR

public static final String LINE_SEPARATOR

LINE_SEPARATOR_LEN

public static final int LINE_SEPARATOR_LEN

Constructor Details

PrettyPrintWriter

public PrettyPrintWriter(OutputStream pOut)

PrettyPrintWriter

public PrettyPrintWriter(Writer pOut)

PrettyPrintWriter

public PrettyPrintWriter(Writer pOut,
                         boolean pAutoFlush)

Method Details

close

public void close()

println

public void println()

write

public void write(String pText,
                  int pOffset,
                  int pLength)

write

public void write(int c)

write

public void write(pBuffer[] ,
                  int pOffset,
                  int pLength)

writeLine

protected void writeLine()