public class UploadFile extends AbstractWandoraTool
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
host |
private java.lang.String |
password |
private int |
port |
private java.lang.String |
user |
(package private) boolean |
useSSL |
| Constructor and Description |
|---|
UploadFile()
Creates a new instance of UploadFile
|
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Wandora admin,
Options options,
java.lang.String prefix)
If the tool is configurable, shows an user interface to configure the tool.
|
void |
execute(Wandora admin,
Context context)
Runs the tool.
|
java.lang.String |
getDescription()
AdminToolManager views tool descriptions while user browses available
tools and build user customizable GUI elements such as Tools menu.
|
java.lang.String |
getName()
Tools name represent the tool in UI unless the tool has been given
explicitly another GUI name.
|
void |
initialize(Wandora admin,
Options options,
java.lang.String prefix)
Initializes a tool with options saved in the options.
|
boolean |
isConfigurable()
Whether this tool is configurable.
|
void |
writeOptions(Wandora admin,
Options options,
java.lang.String prefix)
If the tool is configurable, saves all current tool options.
|
addUndoMarker, addUndoMarker, allowMultipleInvocations, clearAllThreads, clearThreads, clearThreads, clearToolLock, clearToolLock, clearToolLocks, execute, execute, forceStop, forceStop, getContext, getCurrentLogger, getDefaultLogger, getHistory, getIcon, getLastLogger, getState, getThreads, getThreads, getToolMenuItem, getToolMenuItem, getTopicName, getType, hlog, interruptAllThreads, interruptThreads, interruptThreads, isRunning, isRunning, lockLog, log, log, log, log, requiresRefresh, run, runInOwnThread, setContext, setDefaultLogger, setLogTitle, setProgress, setProgressMax, setState, setToolLogger, singleLog, singleLog, singleLog, solveContextTopicMap, solveNameForTopicMapprivate java.lang.String host
private int port
private java.lang.String user
private java.lang.String password
boolean useSSL
public java.lang.String getName()
AbstractWandoraToolgetName in interface WandoraToolgetName in class AbstractWandoraToolpublic java.lang.String getDescription()
AbstractWandoraToolgetDescription in interface WandoraToolgetDescription in class AbstractWandoraToolpublic void initialize(Wandora admin, Options options, java.lang.String prefix) throws TopicMapException
AbstractWandoraToolinitialize in interface WandoraToolinitialize in class AbstractWandoraToolTopicMapExceptionpublic boolean isConfigurable()
AbstractWandoraToolisConfigurable in interface WandoraToolisConfigurable in class AbstractWandoraToolpublic void configure(Wandora admin, Options options, java.lang.String prefix) throws TopicMapException
AbstractWandoraToolconfigure in interface WandoraToolconfigure in class AbstractWandoraToolTopicMapExceptionpublic void writeOptions(Wandora admin, Options options, java.lang.String prefix)
AbstractWandoraToolwriteOptions in interface WandoraToolwriteOptions in class AbstractWandoraToolpublic void execute(Wandora admin, Context context) throws TopicMapException
WandoraToolTopicMapExceptionCopyright 2004-2015 Wandora Team