com.mindbright.ssh2
Class SSH2SFTPFileBrowser

java.lang.Object
  |
  +--com.isnetworks.ssh.AbstractFileBrowser
        |
        +--com.mindbright.ssh2.SSH2SFTPFileBrowser
All Implemented Interfaces:
com.isnetworks.ssh.FileBrowser

public class SSH2SFTPFileBrowser
extends com.isnetworks.ssh.AbstractFileBrowser


Field Summary
 
Fields inherited from class com.isnetworks.ssh.AbstractFileBrowser
dirs, files, mFileDisplay
 
Constructor Summary
SSH2SFTPFileBrowser(SSH2Connection connection, com.isnetworks.ssh.FileDisplay fileDisplay, java.lang.String cwd)
           
 
Method Summary
 void changeDirectory(java.lang.String newDir)
          Switch to a specific, user-input directory
 void delete(com.isnetworks.ssh.FileListItem[] files)
          Delete a file or set of files from the file system
 void disconnect()
          Shut down the file browser
 void fileDoubleClicked(com.isnetworks.ssh.FileListItem file)
          User wants to switch to a directory
 void initialize()
          Connect with the file system if needed
 void makeDirectory(java.lang.String directoryName)
          Create a new empty directory
 void refresh()
          Refresh the file list
 void rename(com.isnetworks.ssh.FileListItem file, java.lang.String newFileName)
          Rename an existing file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSH2SFTPFileBrowser

public SSH2SFTPFileBrowser(SSH2Connection connection,
                           com.isnetworks.ssh.FileDisplay fileDisplay,
                           java.lang.String cwd)
Method Detail

fileDoubleClicked

public void fileDoubleClicked(com.isnetworks.ssh.FileListItem file)
                       throws java.lang.Exception
Description copied from interface: com.isnetworks.ssh.FileBrowser
User wants to switch to a directory

java.lang.Exception

refresh

public void refresh()
             throws java.lang.Exception
Description copied from interface: com.isnetworks.ssh.FileBrowser
Refresh the file list

java.lang.Exception

delete

public void delete(com.isnetworks.ssh.FileListItem[] files)
            throws java.lang.Exception
Description copied from interface: com.isnetworks.ssh.FileBrowser
Delete a file or set of files from the file system

java.lang.Exception

initialize

public void initialize()
                throws java.lang.Exception
Description copied from interface: com.isnetworks.ssh.FileBrowser
Connect with the file system if needed

java.lang.Exception

makeDirectory

public void makeDirectory(java.lang.String directoryName)
                   throws java.lang.Exception
Description copied from interface: com.isnetworks.ssh.FileBrowser
Create a new empty directory

java.lang.Exception

rename

public void rename(com.isnetworks.ssh.FileListItem file,
                   java.lang.String newFileName)
            throws java.lang.Exception
Description copied from interface: com.isnetworks.ssh.FileBrowser
Rename an existing file

java.lang.Exception

changeDirectory

public void changeDirectory(java.lang.String newDir)
                     throws java.lang.Exception
Description copied from interface: com.isnetworks.ssh.FileBrowser
Switch to a specific, user-input directory

java.lang.Exception

disconnect

public void disconnect()
Description copied from interface: com.isnetworks.ssh.FileBrowser
Shut down the file browser

Specified by:
disconnect in interface com.isnetworks.ssh.FileBrowser
Overrides:
disconnect in class com.isnetworks.ssh.AbstractFileBrowser