| |
|
| java.lang.Object org.enhydra.kelp.common.ValidationUtil
ValidationUtil | public class ValidationUtil (Code) | | |
Method Summary | |
public static boolean | isDirectory(String path) Test to see if a path is a directory. | public static boolean | isDirectory(File file) | public static boolean | isJavaIdentifier(String ident) Test to see if the given indentifier is a valid java identifier. | public static boolean | isJavaPackage(String pack) Test to see if the given package is a valid java package name. | public static boolean | isParentDirectory(String path) Test to see if the parent of a given path is a valid directory. |
isDirectory | public static boolean isDirectory(String path)(Code) | | Test to see if a path is a directory.
Parameters: path - The path to test.True if the specified path is a directory. |
isDirectory | public static boolean isDirectory(File file)(Code) | | |
isJavaIdentifier | public static boolean isJavaIdentifier(String ident)(Code) | | Test to see if the given indentifier is a valid java identifier.
Parameters: ident - The identifier to test.True if the specified identifier is valid. |
isJavaPackage | public static boolean isJavaPackage(String pack)(Code) | | Test to see if the given package is a valid java package name.
Parameters: pack - The package name to testTrue if the specified package name is valid. |
isParentDirectory | public static boolean isParentDirectory(String path)(Code) | | Test to see if the parent of a given path is a valid directory.
Parameters: path - The path to test.True if the parent of the specified path is a directory. |
|
|
|