|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SourceWriter
A mechanism to write source files.
Experimental API - subject to change.
Method Summary | |
---|---|
void |
abort()
Abort the source file being generated. |
void |
beginJavaDocComment()
Begin emitting a JavaDoc comment. |
void |
close()
Close the source file being generated. |
void |
endJavaDocComment()
End emitting a JavaDoc comment. |
void |
indent()
Increase indent level. |
void |
indentln(java.lang.String string)
Print a line at an increased indentation level without altering the indent level for the next line. |
void |
indentln(java.lang.String format,
java.lang.Object... args)
Format and print a line at an increased indentation level without altering the indent level for the next line. |
void |
outdent()
Decrease indent level. |
void |
print(java.lang.String s)
Write a string without a line terminator. |
void |
print(java.lang.String format,
java.lang.Object... args)
Format and print a string without a line terminator. |
void |
println()
Write a line terminator. |
void |
println(java.lang.String string)
Write a string with a line terminator. |
void |
println(java.lang.String format,
java.lang.Object... args)
Format and print a string with a line terminator. |
Method Detail |
---|
void abort()
void beginJavaDocComment()
void close()
void endJavaDocComment()
void indent()
void indentln(java.lang.String string)
string
- void indentln(java.lang.String format, java.lang.Object... args)
format
- format string, as in String.format(String, Object...)
args
- arguments for the format stringvoid outdent()
void print(java.lang.String s)
s
- void print(java.lang.String format, java.lang.Object... args)
format
- format string, as in String.format(String, Object...)
args
- arguments for the format stringvoid println()
void println(java.lang.String string)
string
- void println(java.lang.String format, java.lang.Object... args)
format
- format string, as in String.format(String, Object...)
args
- arguments for the format string
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |