|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.codegen.server.SourceWriterBase com.google.gwt.codegen.server.StringSourceWriter
public class StringSourceWriter
A SourceWriter that accumulates source and returns it in the
toString()
method.
Experimental API - subject to change.
Constructor Summary | |
---|---|
StringSourceWriter()
|
Method Summary | |
---|---|
void |
abort()
Abort the source file being generated. |
java.lang.String |
toString()
|
protected void |
writeString(java.lang.String s)
Write a string to the underlying output. |
Methods inherited from class com.google.gwt.codegen.server.SourceWriterBase |
---|
beginJavaDocComment, close, endJavaDocComment, indent, indentln, indentln, outdent, print, print, println, println, println |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StringSourceWriter()
Method Detail |
---|
public void abort()
SourceWriter
abort
in interface SourceWriter
abort
in class SourceWriterBase
public java.lang.String toString()
toString
in class java.lang.Object
protected void writeString(java.lang.String s)
SourceWriterBase
writeString
in class SourceWriterBase
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |