public class IndentPrintWriter extends PrintWriter
| Modifier and Type | Field and Description |
|---|---|
static int |
INDENT |
out| Constructor and Description |
|---|
IndentPrintWriter(OutputStream out) |
IndentPrintWriter(Writer out) |
| Modifier and Type | Method and Description |
|---|---|
void |
dec() |
int |
getIndent() |
void |
inc() |
void |
println() |
void |
setIndent(int size) |
void |
toCol(int idx) |
void |
toIndent() |
void |
write(char[] buf,
int off,
int len) |
void |
write(int b) |
void |
write(String str) |
void |
write(String str,
int off,
int len) |
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, setError, writepublic IndentPrintWriter(Writer out)
public IndentPrintWriter(OutputStream out)
public void write(String str)
write in class PrintWriterpublic void println()
println in class PrintWriterpublic void write(String str, int off, int len)
write in class PrintWriterpublic void write(int b)
write in class PrintWriterpublic void write(char[] buf,
int off,
int len)
write in class PrintWriterpublic void setIndent(int size)
public void inc()
public void dec()
public void toCol(int idx)
public int getIndent()
public void toIndent()
Copyright © 2017. All rights reserved.