X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=website%2Ffull_javadoc%2Fcompbio%2Fengine%2Fclient%2FPathValidator.html;fp=website%2Ffull_javadoc%2Fcompbio%2Fengine%2Fclient%2FPathValidator.html;h=ef6cd60e4e28fd7df349aa6a3be46513b60cfeb0;hb=da8c820a7fb2edecb190589f3dc9c362e57a2f24;hp=0000000000000000000000000000000000000000;hpb=0bbebf27d045b1345bc042bdf24ef2e6808df251;p=jabaws.git diff --git a/website/full_javadoc/compbio/engine/client/PathValidator.html b/website/full_javadoc/compbio/engine/client/PathValidator.html new file mode 100644 index 0000000..ef6cd60 --- /dev/null +++ b/website/full_javadoc/compbio/engine/client/PathValidator.html @@ -0,0 +1,362 @@ + + + + + + +PathValidator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +compbio.engine.client +
+Class PathValidator

+
+java.lang.Object
+  extended by compbio.engine.client.PathValidator
+
+
+
+
public final class PathValidator
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
PathValidator() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static booleanisAbsolutePath(String path) + +
+          Whether a certain path is absolute or not is operation system dependent!
+static booleanisValidDirectory(String directory) + +
+           
+static booleanisValidExecutable(String command) + +
+           
+static voidvalidateDirectory(String workDirectory) + +
+           
+static voidvalidateExecutable(String command) + +
+           
+static voidvalidatePathNames(List<String> filenames, + String type) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PathValidator

+
+public PathValidator()
+
+
+ + + + + + + + +
+Method Detail
+ +

+isValidExecutable

+
+public static boolean isValidExecutable(String command)
+
+
+
+
+
+
+ +

+validateExecutable

+
+public static void validateExecutable(String command)
+                               throws IllegalArgumentException
+
+
+ +
Throws: +
IllegalArgumentException
+
+
+
+ +

+isValidDirectory

+
+public static boolean isValidDirectory(String directory)
+
+
+
+
+
+
+ +

+validatePathNames

+
+public static void validatePathNames(List<String> filenames,
+                                     String type)
+                              throws IllegalArgumentException
+
+
+
Parameters:
filenames -
type - - merely a string to be added to error message to explain what + type of files are lacking +
Throws: +
IllegalArgumentException
+
+
+
+ +

+isAbsolutePath

+
+public static boolean isAbsolutePath(String path)
+
+
Whether a certain path is absolute or not is operation system dependent! +

+

+
Parameters:
path - +
Returns:
true is the path is absolute, false otherwise
+
+
+
+ +

+validateDirectory

+
+public static void validateDirectory(String workDirectory)
+                              throws IllegalArgumentException
+
+
+ +
Throws: +
IllegalArgumentException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + +