public class DeliciousPostsExtractor extends AbstractWandoraTool
Modifier and Type | Class and Description |
---|---|
static class |
DeliciousPostsExtractor.ExtractionFailure |
static class |
DeliciousPostsExtractor.RequestFailure |
Modifier and Type | Field and Description |
---|---|
private TopicMap |
currentMap |
Constructor and Description |
---|
DeliciousPostsExtractor() |
Modifier and Type | Method and Description |
---|---|
void |
execute(Wandora admin,
Context context)
Runs the tool.
|
private void |
extract(java.lang.String username) |
static Topic |
getDeliciousClass(TopicMap currentMap) |
java.lang.String |
getDescription()
AdminToolManager views tool descriptions while user browses available
tools and build user customizable GUI elements such as Tools menu.
|
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.
|
static Topic |
getWandoraClass(TopicMap currentMap) |
private 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 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
public void execute(Wandora admin, Context context)
WandoraTool
public Topic getLanguage(java.lang.String id) throws TopicMapException
TopicMapException
private void extract(java.lang.String username) throws DeliciousPostsExtractor.ExtractionFailure, TopicMapException
public static Topic getDeliciousClass(TopicMap currentMap) throws TopicMapException
TopicMapException
public static Topic getWandoraClass(TopicMap currentMap) throws TopicMapException
TopicMapException
private java.lang.String url(java.lang.String str) throws DeliciousPostsExtractor.ExtractionFailure
Copyright 2004-2015 Wandora Team