public class URLOccurrenceChecker extends AbstractWandoraTool implements WandoraTool
| Modifier and Type | Class and Description |
|---|---|
class |
URLOccurrenceChecker.CheckResult |
| Modifier and Type | Field and Description |
|---|---|
(package private) java.io.File |
currentDirectory |
(package private) java.lang.String |
illegalURLOccurrence |
(package private) java.lang.String |
noURLOccurrences |
(package private) java.lang.String |
reportType
reportType contains character set defining tool
generated reports. |
(package private) java.lang.String |
topicError |
(package private) java.util.Iterator |
topicsToCheck |
(package private) java.lang.String |
urlDoesntExists |
(package private) java.lang.String |
urlExists |
| Constructor and Description |
|---|
URLOccurrenceChecker() |
URLOccurrenceChecker(java.util.Collection topics) |
URLOccurrenceChecker(Context context) |
URLOccurrenceChecker(java.util.Iterator topics) |
| Modifier and Type | Method and Description |
|---|---|
URLOccurrenceChecker.CheckResult |
checkURLOccurrences(Topic t) |
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.
|
private java.net.URL |
getURLOccurrence(java.lang.String urlString) |
private boolean |
reportAbout(char reportCode) |
addUndoMarker, addUndoMarker, allowMultipleInvocations, clearAllThreads, clearThreads, clearThreads, clearToolLock, clearToolLock, clearToolLocks, configure, execute, execute, forceStop, forceStop, getContext, getCurrentLogger, getDefaultLogger, getHistory, getIcon, getLastLogger, getState, getThreads, getThreads, getToolMenuItem, getToolMenuItem, getTopicName, getType, 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, writeOptionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, execute, execute, getContext, getIcon, getToolMenuItem, getType, hlog, initialize, isConfigurable, isRunning, log, log, log, log, requiresRefresh, setContext, setToolLogger, writeOptionsforceStop, getHistory, getState, lockLog, setLogTitle, setProgress, setProgressMax, setStatejava.lang.String urlExists
java.lang.String urlDoesntExists
java.lang.String noURLOccurrences
java.lang.String illegalURLOccurrence
java.lang.String topicError
java.lang.String reportType
reportType contains character set defining tool
generated reports. Possible report characters are:
m = report missing url occurrences
s = report existing url occurrences (successful)
i = report invalid url occurrences (exception occurred)
n = report when topic has no url occurrences
e = report topic errors (topic == null || exceptions)java.io.File currentDirectory
java.util.Iterator topicsToCheck
public URLOccurrenceChecker()
public URLOccurrenceChecker(Context context)
public URLOccurrenceChecker(java.util.Collection topics)
public URLOccurrenceChecker(java.util.Iterator topics)
public void execute(Wandora admin, Context context)
WandoraToolexecute in interface WandoraToolpublic java.lang.String getName()
AbstractWandoraToolgetName in interface WandoraToolgetName in class AbstractWandoraToolpublic java.lang.String getDescription()
AbstractWandoraToolgetDescription in interface WandoraToolgetDescription in class AbstractWandoraToolpublic URLOccurrenceChecker.CheckResult checkURLOccurrences(Topic t) throws TopicMapException
TopicMapExceptionprivate boolean reportAbout(char reportCode)
private java.net.URL getURLOccurrence(java.lang.String urlString)
Copyright 2004-2015 Wandora Team