public class IndentedWriter extends Object
Constructor and Description |
---|
IndentedWriter(PrintWriter pw) |
Modifier and Type | Method and Description |
---|---|
void |
indent()
Indents the generated code.
|
void |
newline()
Outputs a new line.
|
void |
outdent()
Un-indents the generated code.
|
void |
write(String format)
Outputs the given string.
|
void |
write(String format,
Object... args)
Outputs the given string with replacements, using the Java message format.
|
public IndentedWriter(PrintWriter pw)
public void indent()
public void newline()
public void outdent()
public void write(String format)
Copyright © 2016. All rights reserved.