cct.interfaces
Interface FileBrowserInterface

All Known Implementing Classes:
LocalFileBrowser, SFTPBrowser

public interface FileBrowserInterface

Title:

Description:

Copyright: Copyright (c) 2006

Company: ANU


Method Summary
 void cd(java.lang.String dir)
           
 void connect(java.lang.String hostname)
           
 void connect(java.lang.String hostname, java.lang.String username, char[] password, int port)
           
 void disconnect()
           
 void downloadSelected()
           
 void get(java.lang.String remote, java.lang.String local)
           
 void get(java.lang.String remote, java.lang.String local, com.sshtools.j2ssh.FileTransferProgress progress)
           
 java.awt.Component getComponent()
           
 int getFileCount()
           
 java.lang.String[] getFileNames()
           
 java.lang.String[] getSelectedFiles()
           
 java.lang.String[] getSelectedFolders()
           
 boolean isAuthenticated()
           
 void listUsingFilePattern(java.lang.String pattern)
           
 void mkdir()
           
 void mkdir(java.lang.String dir)
           
 java.lang.String pwd()
           
 void refresh()
           
 void removeSelectedPaths()
           
 void rm(java.lang.String path)
           
 void setFileFilter(FileFilterImpl filter)
           
 void setSelectionInfoInterface(SelectionInfoInterface selectionInfo)
           
 void setSelectionMode(int mode)
           
 void setTopGUI(FileBrowserGUIInterface guiInterface)
           
 void upDirectory()
           
 

Method Detail

cd

void cd(java.lang.String dir)

connect

void connect(java.lang.String hostname)
             throws java.lang.Exception
Throws:
java.lang.Exception

connect

void connect(java.lang.String hostname,
             java.lang.String username,
             char[] password,
             int port)
             throws java.lang.Exception
Throws:
java.lang.Exception

disconnect

void disconnect()

downloadSelected

void downloadSelected()

get

void get(java.lang.String remote,
         java.lang.String local)
         throws java.lang.Exception
Throws:
java.lang.Exception

get

void get(java.lang.String remote,
         java.lang.String local,
         com.sshtools.j2ssh.FileTransferProgress progress)
         throws java.lang.Exception
Throws:
java.lang.Exception

getComponent

java.awt.Component getComponent()

getFileCount

int getFileCount()

getFileNames

java.lang.String[] getFileNames()

getSelectedFiles

java.lang.String[] getSelectedFiles()

getSelectedFolders

java.lang.String[] getSelectedFolders()

isAuthenticated

boolean isAuthenticated()

mkdir

void mkdir()

mkdir

void mkdir(java.lang.String dir)

pwd

java.lang.String pwd()

refresh

void refresh()

removeSelectedPaths

void removeSelectedPaths()

rm

void rm(java.lang.String path)

setFileFilter

void setFileFilter(FileFilterImpl filter)

listUsingFilePattern

void listUsingFilePattern(java.lang.String pattern)
                          throws java.lang.Exception
Throws:
java.lang.Exception

setSelectionInfoInterface

void setSelectionInfoInterface(SelectionInfoInterface selectionInfo)

setTopGUI

void setTopGUI(FileBrowserGUIInterface guiInterface)

upDirectory

void upDirectory()

setSelectionMode

void setSelectionMode(int mode)
                      throws java.lang.Exception
Throws:
java.lang.Exception