public class DiggURLExtractor extends AbstractWandoraTool
Modifier and Type | Class and Description |
---|---|
static class |
DiggURLExtractor.ExtractionFailure |
static class |
DiggURLExtractor.RequestFailure |
Modifier and Type | Field and Description |
---|---|
(package private) TopicMap |
currentMap |
private static java.lang.String |
mDiggAppKey |
Constructor and Description |
---|
DiggURLExtractor() |
Modifier and Type | Method and Description |
---|---|
protected static java.lang.String |
DiggAppKey() |
void |
execute(Wandora admin,
Context context)
Runs the tool.
|
private void |
extract(Topic t) |
java.lang.String |
getDescription()
AdminToolManager views tool descriptions while user browses available
tools and build user customizable GUI elements such as Tools menu.
|
Topic |
getDIGGClass() |
javax.swing.Icon |
getIcon()
All tools may have identifying graphic icon used within tool GUI elements.
|
Topic |
getLanguage(java.lang.String id) |
java.lang.String |
getName()
Tools name represent the tool in UI unless the tool has been given
explicitly another GUI name.
|
WandoraToolType |
getType()
Tool type is used to categorize tools.
|
Topic |
getWandoraClass() |
protected static java.lang.String |
url(java.lang.String str) |
addUndoMarker, addUndoMarker, allowMultipleInvocations, clearAllThreads, clearThreads, clearThreads, clearToolLock, clearToolLock, clearToolLocks, configure, execute, execute, forceStop, forceStop, getContext, getCurrentLogger, getDefaultLogger, getHistory, getLastLogger, getState, getThreads, getThreads, getToolMenuItem, getToolMenuItem, getTopicName, hlog, initialize, interruptAllThreads, interruptThreads, interruptThreads, isConfigurable, isRunning, isRunning, lockLog, log, log, log, log, requiresRefresh, run, runInOwnThread, setContext, setDefaultLogger, setLogTitle, setProgress, setProgressMax, setState, setToolLogger, singleLog, singleLog, singleLog, solveContextTopicMap, solveNameForTopicMap, writeOptions
private static java.lang.String mDiggAppKey
TopicMap currentMap
public WandoraToolType getType()
AbstractWandoraTool
Tool type is used to categorize tools. Tool type has no real effect today, it is merely an informative property of a tool.
getType
in interface WandoraTool
getType
in class AbstractWandoraTool
public java.lang.String getName()
AbstractWandoraTool
getName
in interface WandoraTool
getName
in class AbstractWandoraTool
public java.lang.String getDescription()
AbstractWandoraTool
getDescription
in interface WandoraTool
getDescription
in class AbstractWandoraTool
public javax.swing.Icon getIcon()
AbstractWandoraTool
getIcon
should return Icon
object of
the tool.getIcon
in interface WandoraTool
getIcon
in class AbstractWandoraTool
protected static java.lang.String DiggAppKey() throws DiggURLExtractor.ExtractionFailure
protected static java.lang.String url(java.lang.String str) throws DiggURLExtractor.ExtractionFailure
public void execute(Wandora admin, Context context) throws TopicMapException
WandoraTool
TopicMapException
public Topic getDIGGClass() throws TopicMapException
TopicMapException
public Topic getWandoraClass() throws TopicMapException
TopicMapException
public Topic getLanguage(java.lang.String id) throws TopicMapException
TopicMapException
private void extract(Topic t) throws DiggURLExtractor.ExtractionFailure
Copyright 2004-2015 Wandora Team