|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.isnetworks.ssh.AbstractFileBrowser
com.mindbright.ssh.SSHRemoteFileBrowsingConsole
Field Summary |
Fields inherited from class com.isnetworks.ssh.AbstractFileBrowser |
dirs, files, mFileDisplay |
Constructor Summary | |
SSHRemoteFileBrowsingConsole(com.isnetworks.ssh.FileDisplay fileDisplay,
java.lang.String remoteLSCommand,
SSHFileTransferDialog errorLog,
SSHConsoleRemote remote,
java.lang.String cwd)
|
Method Summary | |
void |
changeDirectory(java.lang.String directoryName)
Does a "cd" on the remote machine |
void |
closed(ExpectOutputStream out,
byte[] buf,
int len)
|
void |
delete(com.isnetworks.ssh.FileListItem[] fileListItem)
Does a "rmdir" for directories in the array and a "rm" for files Will not delete non-empty directories |
void |
disconnect()
Shut down the connection to the remote machine if it's active |
void |
doCommand(java.lang.StringBuffer command)
|
void |
fileDoubleClicked(com.isnetworks.ssh.FileListItem fileListItem)
User double clicked on a file in the list. |
void |
initialize()
Kick up a new connection to the remote machine, killing the current one if it's still active |
void |
makeDirectory(java.lang.String directoryName)
Executes a "mkdir" on the remote machine |
void |
reached(ExpectOutputStream out,
byte[] buf,
int len)
|
void |
refresh()
Rather ugly way to get the current directory on the server and a list of files |
void |
rename(com.isnetworks.ssh.FileListItem oldFile,
java.lang.String newName)
Executes a "mv" on the remote machine |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SSHRemoteFileBrowsingConsole(com.isnetworks.ssh.FileDisplay fileDisplay, java.lang.String remoteLSCommand, SSHFileTransferDialog errorLog, SSHConsoleRemote remote, java.lang.String cwd)
Method Detail |
public void initialize() throws java.lang.Exception
initialize
in interface com.isnetworks.ssh.FileBrowser
java.lang.Exception
public void disconnect()
disconnect
in interface com.isnetworks.ssh.FileBrowser
public void refresh() throws java.lang.Exception
refresh
in interface com.isnetworks.ssh.FileBrowser
java.lang.Exception
public void makeDirectory(java.lang.String directoryName) throws java.lang.Exception
makeDirectory
in interface com.isnetworks.ssh.FileBrowser
java.lang.Exception
public void rename(com.isnetworks.ssh.FileListItem oldFile, java.lang.String newName) throws java.lang.Exception
rename
in interface com.isnetworks.ssh.FileBrowser
java.lang.Exception
public void changeDirectory(java.lang.String directoryName) throws java.lang.Exception
changeDirectory
in interface com.isnetworks.ssh.FileBrowser
java.lang.Exception
public void delete(com.isnetworks.ssh.FileListItem[] fileListItem) throws java.lang.Exception
delete
in interface com.isnetworks.ssh.FileBrowser
java.lang.Exception
public void doCommand(java.lang.StringBuffer command) throws java.lang.Exception
java.lang.Exception
public void fileDoubleClicked(com.isnetworks.ssh.FileListItem fileListItem) throws java.lang.Exception
fileDoubleClicked
in interface com.isnetworks.ssh.FileBrowser
java.lang.Exception
public void reached(ExpectOutputStream out, byte[] buf, int len)
reached
in interface ExpectOutputStream.Expector
public void closed(ExpectOutputStream out, byte[] buf, int len)
closed
in interface ExpectOutputStream.Expector
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |