|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.bnl.star.offline.scheduler.util.FilesystemToolkit
public class FilesystemToolkit
Tools for accessing the file system on the host computer.
Field Summary | |
---|---|
static java.util.Map |
mockfilelists
|
static java.util.Map |
mockWildcards
|
Method Summary | |
---|---|
static boolean |
checkIfDirExists(java.lang.String path,
java.lang.String machine,
boolean hostAllowed)
Check if a directory exist. |
static boolean |
checkIfDirExists(java.net.URI file,
boolean hostAllowed)
Check if a directory exist. |
static boolean |
checkIfDirExists(java.net.URL file,
boolean hostAllowed)
Check if a directory exist. |
static boolean |
checkIfFileExists(java.net.URL file,
boolean hostAllowed)
Check if a file exist. |
static java.lang.String |
getCurrentDirectory()
This function is used to get the current working directory. |
static void |
main(java.lang.String[] args)
|
static java.lang.String[] |
resolveWildcard(java.lang.String wildcard)
|
static java.util.List |
retrieveFileListContents(java.lang.String fileList,
int nfiles)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.util.Map mockWildcards
public static java.util.Map mockfilelists
Method Detail |
---|
public static java.lang.String getCurrentDirectory()
public static boolean checkIfFileExists(java.net.URL file, boolean hostAllowed)
public static boolean checkIfDirExists(java.net.URI file, boolean hostAllowed)
public static boolean checkIfDirExists(java.lang.String path, java.lang.String machine, boolean hostAllowed)
public static boolean checkIfDirExists(java.net.URL file, boolean hostAllowed)
public static java.lang.String[] resolveWildcard(java.lang.String wildcard)
public static java.util.List retrieveFileListContents(java.lang.String fileList, int nfiles)
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |