|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.network.ftp.protocol.Local
This class presents local machine.
Constructor Summary | |
protected |
Local(FTPProtocol parent)
The constructor of the Local class. |
Method Summary | |
void |
changeDir(java.lang.String newDirString)
The method changes dir. |
void |
deleteDir(java.lang.String dirName)
The method deletes dir. |
void |
deleteFile(java.lang.String fileName)
The methods deletes file. |
java.util.Vector |
fileList()
The method reads local file list contents and return it. |
java.lang.String |
getCurrentDir()
Gets current dir. |
java.lang.String |
getLocalCurrentDir()
Gets current dir. |
java.util.Vector |
getLocalFileList()
The method reads local file list contents and return it. |
void |
makeDir(java.lang.String dirName)
The method makes dir. |
protected void |
printText(java.lang.String text)
printText method comment. |
void |
rename(java.lang.String oldName,
java.lang.String newName)
The method renames file or directory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected Local(FTPProtocol parent)
parent
- com.ibm.network.ftp.protocol.FTPProtocolMethod Detail |
public void changeDir(java.lang.String newDirString)
newDirString
- Stringpublic void deleteDir(java.lang.String dirName)
dirName
- Stringpublic void deleteFile(java.lang.String fileName)
fileName
- Stringpublic java.util.Vector fileList()
public java.lang.String getCurrentDir()
public java.lang.String getLocalCurrentDir()
public java.util.Vector getLocalFileList()
public void makeDir(java.lang.String dirName)
dirName
- protected void printText(java.lang.String text)
public void rename(java.lang.String oldName, java.lang.String newName)
oldName
- of the file or directory StringnewName
- of the file or directory String
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |