foundry-0.9.1

foundry.io
Class IndentablePrintWriter

java.lang.Object
  |
  +--java.io.Writer
        |
        +--java.io.PrintWriter
              |
              +--foundry.io.IndentablePrintWriter

public class IndentablePrintWriter
extends PrintWriter


Field Summary
private  String indent
           
 
Fields inherited from class java.io.PrintWriter
autoFlush, lineSeparator, out, trouble
 
Fields inherited from class java.io.Writer
lock, writeBuffer, writeBufferSize
 
Constructor Summary
IndentablePrintWriter(int howMany)
           
IndentablePrintWriter(OutputStream out, int howMany)
           
IndentablePrintWriter(OutputStream out, String indent)
           
IndentablePrintWriter(String indent)
           
IndentablePrintWriter(Writer writer, int howMany)
           
IndentablePrintWriter(Writer writer, String indent)
           
 
Method Summary
 String getIndentString()
           
private  void indent()
           
 void println(boolean bool)
           
 void println(char c)
           
 void println(char[] x)
           
 void println(double x)
           
 void println(float x)
           
 void println(int i)
           
 void println(long x)
           
 void println(Object x)
           
 void println(String x)
           
 void setIndentString(String indentString)
           
 
Methods inherited from class java.io.PrintWriter
checkError, close, ensureOpen, flush, newLine, print, print, print, print, print, print, print, print, print, println, setError, write, write, write, write, write
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

indent

private String indent
Constructor Detail

IndentablePrintWriter

public IndentablePrintWriter(int howMany)
                      throws IllegalArgumentException

IndentablePrintWriter

public IndentablePrintWriter(Writer writer,
                             int howMany)
                      throws IllegalArgumentException

IndentablePrintWriter

public IndentablePrintWriter(OutputStream out,
                             int howMany)

IndentablePrintWriter

public IndentablePrintWriter(OutputStream out,
                             String indent)

IndentablePrintWriter

public IndentablePrintWriter(String indent)

IndentablePrintWriter

public IndentablePrintWriter(Writer writer,
                             String indent)
Method Detail

getIndentString

public String getIndentString()

setIndentString

public void setIndentString(String indentString)

indent

private void indent()

println

public void println(boolean bool)
Overrides:
println in class PrintWriter

println

public void println(char c)
Overrides:
println in class PrintWriter

println

public void println(int i)
Overrides:
println in class PrintWriter

println

public void println(long x)
Overrides:
println in class PrintWriter

println

public void println(float x)
Overrides:
println in class PrintWriter

println

public void println(double x)
Overrides:
println in class PrintWriter

println

public void println(char[] x)
Overrides:
println in class PrintWriter

println

public void println(String x)
Overrides:
println in class PrintWriter

println

public void println(Object x)
Overrides:
println in class PrintWriter

foundry-0.9.1

Copyright © 2000 - Laird Jarrett Nelson