public class OuterWithLevel extends Outer
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
isLineBegin |
(package private) int |
level |
Constructor and Description |
---|
OuterWithLevel(OutputStream os) |
OuterWithLevel(OutputStream os,
String charset) |
OuterWithLevel(Writer w) |
Modifier and Type | Method and Description |
---|---|
OuterWithLevel |
decLevel() |
int |
getLevel() |
OuterWithLevel |
incLevel() |
static String |
toString(Outable outable)
Outputs an
Outable into a String, with all sub elements. |
OuterWithLevel |
write(char c) |
OuterWithLevel |
write(Iterable<? extends Outable> as) |
OuterWithLevel |
write(Object o) |
OuterWithLevel |
write(Outable a) |
OuterWithLevel |
write(String s) |
OuterWithLevel |
writeln(Iterable<? extends Outable> as) |
OuterWithLevel |
writeln(Object o) |
OuterWithLevel |
writeln(Outable a) |
OuterWithLevel |
writeln(String s) |
public OuterWithLevel(Writer w)
public OuterWithLevel(OutputStream os)
public OuterWithLevel(OutputStream os, String charset)
public OuterWithLevel incLevel()
public OuterWithLevel decLevel()
public int getLevel()
public OuterWithLevel writeln(Object o) throws IOException
IOException
public OuterWithLevel writeln(Iterable<? extends Outable> as) throws IOException
IOException
public OuterWithLevel writeln(Outable a) throws IOException
IOException
public OuterWithLevel writeln(String s) throws IOException
IOException
public OuterWithLevel write(char c) throws IOException
write
in class Outer
IOException
public OuterWithLevel write(Object o) throws IOException
write
in class Outer
IOException
public OuterWithLevel write(Iterable<? extends Outable> as) throws IOException
IOException
public OuterWithLevel write(Outable a) throws IOException
IOException
public OuterWithLevel write(String s) throws IOException
write
in class Outer
IOException