|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jtool.jxplatform.j2x.JavaIdentifier
Stores reserved identifiers in Java programming language 5.0.
| Constructor Summary | |
JavaIdentifier()
|
|
| Method Summary | |
static boolean |
isJavaKeyword(java.lang.String str)
Tests if a string is defined as a Java's keyword. |
static boolean |
isJavaSpecials(java.lang.String name)
Tests if a string is defined as a Java's special token. |
static boolean |
isValid(java.lang.String str)
Tests if a string is valid according to the Java language specification. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JavaIdentifier()
| Method Detail |
public static boolean isValid(java.lang.String str)
str - A string.
true if the string is valid as an identifier, othereise false.public static boolean isJavaKeyword(java.lang.String str)
str - A string.
true if the string is one of the keywords, othereise false.public static boolean isJavaSpecials(java.lang.String name)
name - A string.
true if the string is one of the special tokens, othereise false.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||