|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.panayotis.io.FileUtils
public class FileUtils
This object is used to serch for an executable in the current $PATH.
| Constructor Summary | |
|---|---|
FileUtils()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
findPathExec(java.lang.String prog)
This method browses current path to search for a file. |
static java.io.File |
getExec(java.lang.String path)
Check if the specified file path is a valid file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileUtils()
| Method Detail |
|---|
public static final java.io.File getExec(java.lang.String path)
path - The file path to check if it is valid.
public static final java.lang.String findPathExec(java.lang.String prog)
prog - The file to check if it exists in the system $PATH
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||