public class StringSourceWriter extends SourceWriterBase
toString()
method.
Experimental API - subject to change.
Constructor and Description |
---|
StringSourceWriter() |
Modifier and Type | Method and Description |
---|---|
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.
|
beginJavaDocComment, close, endJavaDocComment, indent, indentln, indentln, outdent, print, print, println, println, println
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