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, writeOptionsprivate static java.lang.String mDiggAppKey
TopicMap currentMap
public WandoraToolType getType()
AbstractWandoraToolTool 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 WandoraToolgetType in class AbstractWandoraToolpublic java.lang.String getName()
AbstractWandoraToolgetName in interface WandoraToolgetName in class AbstractWandoraToolpublic java.lang.String getDescription()
AbstractWandoraToolgetDescription in interface WandoraToolgetDescription in class AbstractWandoraToolpublic javax.swing.Icon getIcon()
AbstractWandoraToolgetIcon should return Icon object of
the tool.getIcon in interface WandoraToolgetIcon in class AbstractWandoraToolprotected 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
WandoraToolTopicMapExceptionpublic Topic getDIGGClass() throws TopicMapException
TopicMapExceptionpublic Topic getWandoraClass() throws TopicMapException
TopicMapExceptionpublic Topic getLanguage(java.lang.String id) throws TopicMapException
TopicMapExceptionprivate void extract(Topic t) throws DiggURLExtractor.ExtractionFailure
Copyright 2004-2015 Wandora Team