cct.tools.filebrowser
Class ShadowSFTPManager

java.lang.Object
  extended by cct.tools.filebrowser.ShadowSFTPManager
All Implemented Interfaces:
ShadowManagerInterface

public class ShadowSFTPManager
extends java.lang.Object
implements ShadowManagerInterface


Field Summary
(package private)  java.lang.String defaultProtocol
           
(package private) static java.lang.String HOST_KEY
           
(package private) static int maxStroredHosts
           
(package private) static java.lang.String NEW_HOST
           
(package private) static java.lang.String NUMBER_OF_HOSTS_KEY
           
 
Constructor Summary
ShadowSFTPManager()
           
 
Method Summary
 void addClient(ShadowClientInterface client)
           
(package private)  void addKnownHost(java.lang.String host)
           
(package private)  void createNewBrowser(java.lang.String host, java.lang.String username, FileBrowserInterface browser)
           
 java.lang.String[] getKnownHosts()
           
static void main(java.lang.String[] args)
           
 void processConnection(java.lang.String host_info, java.awt.Component component)
           
 void processEditHosts(java.awt.Component component)
           
 void processExit(java.awt.Component component)
           
 void setExitOnAllClose(boolean enable)
           
 void startFileBrowser()
          Starts file browser
 void startFileChooser()
           
(package private)  void updateKnownHosts()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

maxStroredHosts

static final int maxStroredHosts
See Also:
Constant Field Values

NEW_HOST

static final java.lang.String NEW_HOST
See Also:
Constant Field Values

NUMBER_OF_HOSTS_KEY

static final java.lang.String NUMBER_OF_HOSTS_KEY
See Also:
Constant Field Values

HOST_KEY

static final java.lang.String HOST_KEY
See Also:
Constant Field Values

defaultProtocol

java.lang.String defaultProtocol
Constructor Detail

ShadowSFTPManager

public ShadowSFTPManager()
Method Detail

setExitOnAllClose

public void setExitOnAllClose(boolean enable)

main

public static void main(java.lang.String[] args)

startFileBrowser

public void startFileBrowser()
Starts file browser


startFileChooser

public void startFileChooser()

processEditHosts

public void processEditHosts(java.awt.Component component)
Specified by:
processEditHosts in interface ShadowManagerInterface

getKnownHosts

public java.lang.String[] getKnownHosts()
Specified by:
getKnownHosts in interface ShadowManagerInterface

processExit

public void processExit(java.awt.Component component)
Specified by:
processExit in interface ShadowManagerInterface

processConnection

public void processConnection(java.lang.String host_info,
                              java.awt.Component component)
                       throws java.lang.Exception
Specified by:
processConnection in interface ShadowManagerInterface
Throws:
java.lang.Exception

addKnownHost

void addKnownHost(java.lang.String host)

createNewBrowser

void createNewBrowser(java.lang.String host,
                      java.lang.String username,
                      FileBrowserInterface browser)

updateKnownHosts

void updateKnownHosts()

addClient

public void addClient(ShadowClientInterface client)