public class

IndentedWriter

extends Object
java.lang.Object
   ↳ com.google.gwt.uibinder.rebind.IndentedWriter

Class Overview

Pleasant wrapper for PrintWriter, manages indentation levels. Name is a misnomer, as this doesn't implement Writer.

Summary

Public Constructors
IndentedWriter(PrintWriter pw)
Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public IndentedWriter (PrintWriter pw)

Public Methods

public void indent ()

Indents the generated code.

public void newline ()

Outputs a new line.

public void outdent ()

Un-indents the generated code.

public void write (String format)

Outputs the given string.

public void write (String format, Object... args)

Outputs the given string with replacements, using the Java message format.