Package com.google.gwt.codegen.server
Class StringSourceWriter
java.lang.Object
com.google.gwt.codegen.server.SourceWriterBase
com.google.gwt.codegen.server.StringSourceWriter
- All Implemented Interfaces:
SourceWriter
A SourceWriter that accumulates source and returns it in the
toString()
method.
Experimental API - subject to change.
-
Constructor Summary
-
Method Summary
Methods inherited from class com.google.gwt.codegen.server.SourceWriterBase
beginJavaDocComment, close, endJavaDocComment, indent, indentln, indentln, outdent, print, print, println, println, println
-
Constructor Details
-
StringSourceWriter
public StringSourceWriter()
-
-
Method Details
-
abort
public void abort()Description copied from interface:SourceWriter
Abort the source file being generated.- Specified by:
abort
in interfaceSourceWriter
- Specified by:
abort
in classSourceWriterBase
-
toString
-
writeString
Description copied from class:SourceWriterBase
Write a string to the underlying output.- Specified by:
writeString
in classSourceWriterBase
- Parameters:
s
-
-