|
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.CodeGenUtils
public class CodeGenUtils
Helper class for code generators.
Method Summary | |
---|---|
static java.lang.String |
asStringLiteral(java.lang.String literal)
Produce a string which represents a string literal in Java source, including null values. |
static java.lang.String |
escape(java.lang.String unescaped)
Escapes string content to be a valid string literal. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String asStringLiteral(java.lang.String literal)
literal
-
public static java.lang.String escape(java.lang.String unescaped)
unescaped
-
unescaped
, suitable for being
enclosed in double quotes in Java source
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |