public class IndentedWriter extends FilterWriter
out| Constructor and Description |
|---|
IndentedWriter(Writer out) |
| Modifier and Type | Method and Description |
|---|---|
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) |
close, flushpublic IndentedWriter(Writer out)
public void upIndent()
public void downIndent()
public void write(int c)
throws IOException
write in class FilterWriterIOExceptionpublic void write(char[] chars,
int off,
int len)
throws IOException
write in class FilterWriterIOExceptionpublic void write(String s, int off, int len) throws IOException
write in class FilterWriterIOExceptionpublic void print(String s) throws IOException
IOExceptionpublic void println(String s) throws IOException
IOExceptionpublic void print(boolean x)
throws IOException
IOExceptionpublic void print(byte x)
throws IOException
IOExceptionpublic void print(char x)
throws IOException
IOExceptionpublic void print(short x)
throws IOException
IOExceptionpublic void print(int x)
throws IOException
IOExceptionpublic void print(long x)
throws IOException
IOExceptionpublic void print(float x)
throws IOException
IOExceptionpublic void print(double x)
throws IOException
IOExceptionpublic void print(Object x) throws IOException
IOExceptionpublic void println(boolean x)
throws IOException
IOExceptionpublic void println(byte x)
throws IOException
IOExceptionpublic void println(char x)
throws IOException
IOExceptionpublic void println(short x)
throws IOException
IOExceptionpublic void println(int x)
throws IOException
IOExceptionpublic void println(long x)
throws IOException
IOExceptionpublic void println(float x)
throws IOException
IOExceptionpublic void println(double x)
throws IOException
IOExceptionpublic void println(Object x) throws IOException
IOExceptionpublic void println()
throws IOException
IOException