|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.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 true if the specified String is a valid
Java identifier. |
static boolean |
isJavaKeyword(java.lang.String name)
Returns true if the specified String is a Java
keyword. |
static boolean |
isJavaReservedWord(java.lang.String name)
Returns true if the specified String is a Java
reserved word. |
static boolean |
isPackageIdentifier(java.lang.String name)
Returns true if the specified String is 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 Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |