|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.uibinder.rebind.IndentedWriter
public class IndentedWriter
Pleasant wrapper for PrintWriter, manages indentation levels. Name is a misnomer, as this doesn't implement Writer.
| Constructor Summary | |
|---|---|
IndentedWriter(java.io.PrintWriter pw)
|
|
| Method Summary | |
|---|---|
void |
indent()
Indents the generated code. |
void |
newline()
Outputs a new line. |
void |
outdent()
Un-indents the generated code. |
void |
write(java.lang.String format)
Outputs the given string. |
void |
write(java.lang.String format,
java.lang.Object... args)
Outputs the given string with replacements, using the Java message format. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IndentedWriter(java.io.PrintWriter pw)
| Method Detail |
|---|
public void indent()
public void newline()
public void outdent()
public void write(java.lang.String format)
public void write(java.lang.String format,
java.lang.Object... args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||