jtp.util
Class IndentingWriter
java.lang.Object
|
+--java.io.Writer
|
+--java.io.FilterWriter
|
+--jtp.util.IndentingWriter
- public class IndentingWriter
- extends FilterWriter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndentingWriter
public IndentingWriter(Writer out)
getColumn
public int getColumn()
setColumn
public void setColumn(int newColumn)
getRightMargin
public int getRightMargin()
setRightMargin
public void setRightMargin(int newRightMargin)
getLeftMargin
public int getLeftMargin()
setLeftMargin
public void setLeftMargin(int newLeftMargin)
write
public void write(char c)
throws IOException
IOException
write
public void write(char[] cbuf,
int off,
int len)
throws IOException
- Overrides:
write
in class FilterWriter
IOException
write
public void write(String str,
int off,
int len)
throws IOException
- Overrides:
write
in class FilterWriter
IOException