| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.jdeveloper.java.util.NamingUtil
public final class NamingUtil
This class concentrates some utilities method that verify the validity of java names.
| Method Summary | |
|---|---|
| static boolean | isJavaIdentifier(java.lang.String name)Returns trueif the specifiedStringis a valid
 Java identifier. | 
| static boolean | isJavaKeyword(java.lang.String name)Returns trueif the specifiedStringis a Java
 keyword. | 
| static boolean | isJavaReservedWord(java.lang.String name)Returns trueif the specifiedStringis a Java
 reserved word. | 
| static boolean | isPackageIdentifier(java.lang.String name)Returns trueif the specifiedStringis a valid
 package identifier. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static boolean isJavaKeyword(java.lang.String name)
true if the specified String is a Java
 keyword.
name - the String to test.public static boolean isJavaReservedWord(java.lang.String name)
true if the specified String is a Java
 reserved word.  A Java reserved word is either a keyword, a boolean
 literal, or the null literal.
name - the String to test.public static boolean isJavaIdentifier(java.lang.String name)
true if the specified String is a valid
 Java identifier.
name - the String to test.public static boolean isPackageIdentifier(java.lang.String name)
true if the specified String is a valid
 package identifier.
| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||