com.mchange.v2.io
Class IndentedWriter

java.lang.Object
  extended by java.io.Writer
      extended by java.io.FilterWriter
          extended by com.mchange.v2.io.IndentedWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable
Direct Known Subclasses:
IndentedWriter

public class IndentedWriter
extends FilterWriter


Field Summary
 
Fields inherited from class java.io.FilterWriter
out
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
IndentedWriter(Writer out)
           
 
Method Summary
 void downIndent()
           
 void print(boolean x)
           
 void print(byte x)
           
 void print(char x)
           
 void print(double x)
           
 void print(float x)
           
 void print(int x)
           
 void print(long x)
           
 void print(Object x)
           
 void print(short x)
           
 void print(String s)
           
 void println()
           
 void println(boolean x)
           
 void println(byte x)
           
 void println(char x)
           
 void println(double x)
           
 void println(float x)
           
 void println(int x)
           
 void println(long x)
           
 void println(Object x)
           
 void println(short x)
           
 void println(String s)
           
 void upIndent()
           
 void write(char[] chars, int off, int len)
           
 void write(int c)
           
 void write(String s, int off, int len)
           
 
Methods inherited from class java.io.FilterWriter
close, flush
 
Methods inherited from class java.io.Writer
append, append, append, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndentedWriter

public IndentedWriter(Writer out)
Method Detail

upIndent

public void upIndent()

downIndent

public void downIndent()

write

public void write(int c)
           throws IOException
Overrides:
write in class FilterWriter
Throws:
IOException

write

public void write(char[] chars,
                  int off,
                  int len)
           throws IOException
Overrides:
write in class FilterWriter
Throws:
IOException

write

public void write(String s,
                  int off,
                  int len)
           throws IOException
Overrides:
write in class FilterWriter
Throws:
IOException

print

public void print(String s)
           throws IOException
Throws:
IOException

println

public void println(String s)
             throws IOException
Throws:
IOException

print

public void print(boolean x)
           throws IOException
Throws:
IOException

print

public void print(byte x)
           throws IOException
Throws:
IOException

print

public void print(char x)
           throws IOException
Throws:
IOException

print

public void print(short x)
           throws IOException
Throws:
IOException

print

public void print(int x)
           throws IOException
Throws:
IOException

print

public void print(long x)
           throws IOException
Throws:
IOException

print

public void print(float x)
           throws IOException
Throws:
IOException

print

public void print(double x)
           throws IOException
Throws:
IOException

print

public void print(Object x)
           throws IOException
Throws:
IOException

println

public void println(boolean x)
             throws IOException
Throws:
IOException

println

public void println(byte x)
             throws IOException
Throws:
IOException

println

public void println(char x)
             throws IOException
Throws:
IOException

println

public void println(short x)
             throws IOException
Throws:
IOException

println

public void println(int x)
             throws IOException
Throws:
IOException

println

public void println(long x)
             throws IOException
Throws:
IOException

println

public void println(float x)
             throws IOException
Throws:
IOException

println

public void println(double x)
             throws IOException
Throws:
IOException

println

public void println(Object x)
             throws IOException
Throws:
IOException

println

public void println()
             throws IOException
Throws:
IOException