|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--FileInfo
The FileInfo class serves to evaluate file and directory information. This class includes methods for executing the current command, returning the name of a command, and expanding the arguments of a command to include specified variables, if any.
| Field Summary | |
protected java.lang.String |
myCommand
Current command. |
protected java.lang.String |
myCurrentPath
Current path. |
protected java.lang.String |
myName
File path entered by user. |
protected java.lang.String |
myResult
Error message for non-existent file. |
protected java.lang.String |
myTempPath
Resultant path name. |
| Method Summary | |
java.lang.String |
addResult()
Returns error message if file does not exist. |
java.lang.String |
getPath()
Returns a file path. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String myName
protected java.lang.String myCommand
protected java.lang.String myCurrentPath
protected java.lang.String myResult
protected java.lang.String myTempPath
| Method Detail |
public java.lang.String addResult()
myResult.public java.lang.String getPath()
myTempPath.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||