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 @@ + + + +
+ +
+
+
|
++ + | +|||||||||
+ PREV CLASS + NEXT CLASS | ++ FRAMES + NO FRAMES + + + + + | +|||||||||
+ SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
+java.lang.Object + compbio.engine.client.PathValidator ++
public final class PathValidator
+
+Constructor Summary | +|
---|---|
PathValidator()
+
++ |
+
+Method Summary | +|
---|---|
+static boolean |
+isAbsolutePath(String path)
+
++ Whether a certain path is absolute or not is operation system dependent! |
+
+static boolean |
+isValidDirectory(String directory)
+
++ |
+
+static boolean |
+isValidExecutable(String command)
+
++ |
+
+static void |
+validateDirectory(String workDirectory)
+
++ |
+
+static void |
+validateExecutable(String command)
+
++ |
+
+static void |
+validatePathNames(List<String> filenames,
+ String type)
+
++ |
+
Methods inherited from class java.lang.Object | +
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
+
+Constructor Detail | +
---|
+public PathValidator()+
+Method Detail | +
---|
+public static boolean isValidExecutable(String command)+
+public static void validateExecutable(String command) + throws IllegalArgumentException+
IllegalArgumentException
+public static boolean isValidDirectory(String directory)+
+public static void validatePathNames(List<String> filenames, + String type) + throws IllegalArgumentException+
filenames
- type
- - merely a string to be added to error message to explain what
+ type of files are lacking
+IllegalArgumentException
+public static boolean isAbsolutePath(String path)+
+
path
-
++public static void validateDirectory(String workDirectory) + throws IllegalArgumentException+
IllegalArgumentException
+
+
|
++ + | +|||||||||
+ PREV CLASS + NEXT CLASS | ++ FRAMES + NO FRAMES + + + + + | +|||||||||
+ SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +