|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.tool.codegen.ValidationUtil
This class instantiates a set of default GeneratorOptions during initialization. The default options include: appname, d, package copywrite, copywritefile, nomake, noscript, and nojbuilder.
Method Summary | |
static boolean |
isDirectory(java.lang.String path)
Test to see if a path is a directory. |
static boolean |
isJavaIdentifier(java.lang.String ident)
Test to see if the given indentifier is a valid java identifier. |
static boolean |
isJavaPackage(java.lang.String pack)
Test to see if the given package is a valid java package name. |
static boolean |
isParentDirectory(java.lang.String path)
Test to see if the parent of a given path is a valid directory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static boolean isJavaPackage(java.lang.String pack)
pack
- The package name to test
public static boolean isJavaIdentifier(java.lang.String ident)
ident
- The identifier to test.
public static boolean isDirectory(java.lang.String path)
path
- The path to test.
public static boolean isParentDirectory(java.lang.String path)
path
- The path to test.
|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |