cct.tools.filebrowser
Class LocalFileBrowser
java.lang.Object
cct.tools.filebrowser.LocalFileBrowser
- All Implemented Interfaces:
- FileBrowserInterface
public class LocalFileBrowser
- extends java.lang.Object
- implements FileBrowserInterface
Title:
Description:
Copyright: Copyright (c) 2006
Company: ANU
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
table
javax.swing.JTable table
topGUI
FileBrowserGUIInterface topGUI
LocalFileBrowser
public LocalFileBrowser()
getFileNames
public java.lang.String[] getFileNames()
- Specified by:
getFileNames in interface FileBrowserInterface
getFileCount
public int getFileCount()
- Specified by:
getFileCount in interface FileBrowserInterface
listUsingFilePattern
public void listUsingFilePattern(java.lang.String pattern)
throws java.lang.Exception
- Specified by:
listUsingFilePattern in interface FileBrowserInterface
- Throws:
java.lang.Exception
getComponent
public java.awt.Component getComponent()
- Specified by:
getComponent in interface FileBrowserInterface
setSelectionInfoInterface
public void setSelectionInfoInterface(SelectionInfoInterface selection_info)
- Specified by:
setSelectionInfoInterface in interface FileBrowserInterface
get
public void get(java.lang.String remote,
java.lang.String local)
throws java.lang.Exception
- Specified by:
get in interface FileBrowserInterface
- Throws:
java.lang.Exception
get
public void get(java.lang.String remote,
java.lang.String local,
com.sshtools.j2ssh.FileTransferProgress progress)
throws java.lang.Exception
- Specified by:
get in interface FileBrowserInterface
- Throws:
java.lang.Exception
setFileFilter
public void setFileFilter(FileFilterImpl filter)
- Specified by:
setFileFilter in interface FileBrowserInterface
disconnect
public void disconnect()
- Specified by:
disconnect in interface FileBrowserInterface
getSelectedFiles
public java.lang.String[] getSelectedFiles()
- Specified by:
getSelectedFiles in interface FileBrowserInterface
downloadSelected
public void downloadSelected()
- Specified by:
downloadSelected in interface FileBrowserInterface
pwd
public java.lang.String pwd()
- Specified by:
pwd in interface FileBrowserInterface
getSelectedFolders
public java.lang.String[] getSelectedFolders()
- Specified by:
getSelectedFolders in interface FileBrowserInterface
setSelectionMode
public void setSelectionMode(int mode)
- Specified by:
setSelectionMode in interface FileBrowserInterface
setTopGUI
public void setTopGUI(FileBrowserGUIInterface guiInterface)
- Specified by:
setTopGUI in interface FileBrowserInterface
connect
public void connect(java.lang.String hostname)
throws java.lang.Exception
- Specified by:
connect in interface FileBrowserInterface
- Throws:
java.lang.Exception
connect
public void connect(java.lang.String hostname,
java.lang.String username,
char[] password,
int port)
throws java.lang.Exception
- Specified by:
connect in interface FileBrowserInterface
- Throws:
java.lang.Exception
isAuthenticated
public boolean isAuthenticated()
- Specified by:
isAuthenticated in interface FileBrowserInterface
mkdir
public void mkdir()
- Specified by:
mkdir in interface FileBrowserInterface
mkdir
public void mkdir(java.lang.String dir)
- Specified by:
mkdir in interface FileBrowserInterface
cd
public void cd(java.lang.String dir)
- Specified by:
cd in interface FileBrowserInterface
refresh
public void refresh()
- Specified by:
refresh in interface FileBrowserInterface
removeSelectedPaths
public void removeSelectedPaths()
- Specified by:
removeSelectedPaths in interface FileBrowserInterface
rm
public void rm(java.lang.String path)
- Specified by:
rm in interface FileBrowserInterface
upDirectory
public void upDirectory()
- Specified by:
upDirectory in interface FileBrowserInterface
main
public static void main(java.lang.String[] args)