public abstract class AbstractOpenCycExtractor extends AbstractExtractor
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ARG_SI |
static java.lang.String |
COLLECTION_SI |
static java.lang.String |
COMMENT_SI |
private java.lang.String[] |
contentTypes |
static java.lang.String |
FUNCTOR_SI |
static java.lang.String |
GENLS_SI |
static java.lang.String |
INSTANCE_SI |
protected static boolean |
ISA_EQUALS_INSTANCE |
static java.lang.String |
ISA_SI |
static java.lang.String |
LANG |
static java.lang.String |
SIBLING_SI |
static java.lang.String |
SIPREFIX |
static java.lang.String |
TERM_SI |
static java.lang.String |
termSIBase |
static boolean |
USE_EXISTING_TOPICS
Try to retrieve topic before new to creation.
|
CUSTOM_EXTRACTOR, DONE_FAILED, DONE_MANY, DONE_ONE, EXACTLY_GIVEN_URLS, FILE_EXTRACTOR, FILE_PATTERN, GIVEN_URLS_AND_ALL_CRAWLED_DOCUMENTS, GIVEN_URLS_AND_CRAWLED_DOCUMENTS_IN_URL_DOMAIN, GIVEN_URLS_AND_LINKED_DOCUMENTS, GIVEN_URLS_AND_URL_BELOW, INFO_WAIT_WHILE_WORKING, LOG_TITLE, POINT_START_URL_TEXT, RAW_EXTRACTOR, SELECT_DIALOG_TITLE, STRING_EXTRACTOR_NOT_SUPPORTED_MESSAGE, URL_EXTRACTORCLOSE, EXECUTE, INVISIBLE, VISIBLE, WAITRETURN_ERROR, RETURN_INFO| Constructor and Description |
|---|
AbstractOpenCycExtractor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_extractTopicsFrom(java.io.File file,
TopicMap topicMap) |
abstract boolean |
_extractTopicsFrom(java.io.InputStream inputStream,
TopicMap topicMap) |
boolean |
_extractTopicsFrom(java.lang.String str,
TopicMap topicMap) |
boolean |
_extractTopicsFrom(java.net.URL url,
TopicMap topicMap) |
protected static Topic |
getArgType(TopicMap tm,
int argNum) |
protected static Topic |
getCollectionTypeTopic(TopicMap tm) |
protected static Topic |
getCommentTypeTopic(TopicMap tm) |
java.lang.String[] |
getContentTypes()
Returns an array of String containing the content-types this
ContentHandler can process. |
protected static Topic |
getFunctorType(TopicMap tm) |
javax.swing.Icon |
getIcon()
All tools may have identifying graphic icon used within tool GUI elements.
|
protected static Topic |
getInstanceTypeTopic(TopicMap tm) |
protected static Topic |
getIsaTypeTopic(TopicMap tm) |
abstract java.lang.String |
getMasterTerm(java.lang.String u) |
protected static Topic |
getOrCreateTopic(TopicMap tm,
java.lang.String si) |
protected static Topic |
getOrCreateTopic(TopicMap tm,
java.lang.String si,
java.lang.String bn) |
protected static Topic |
getSiblingTypeTopic(TopicMap tm) |
protected static Topic |
getTermTopic(java.lang.String guid,
java.lang.String basename,
TopicMap tm) |
protected static Topic |
getTermTypeTopic(TopicMap tm) |
protected static Topic |
getWandoraClassTopic(TopicMap tm) |
protected static void |
makeSubclassOf(TopicMap tm,
Topic t,
Topic superclass) |
boolean |
useURLCrawler() |
acceptBrowserExtractRequest, addCrawlerUrl, browserExtractorConsumesPlainText, buildSI, buildSL, clearMasterSubject, createAssociation, createAssociation, createTopic, createTopic, createTopic, createTopic, createTopic, createTopic, createTopic, croppedFilename, croppedFilename, croppedUrlString, croppedUrlString, doBrowserExtract, dropExtract, dropExtract, dropExtract, execute, extractTopicsFrom, extractTopicsFrom, extractTopicsFrom, extractTopicsFrom, extractTopicsFromText, getBrowserExtractorName, getCrawlerMode, getDescription, getExtractorType, getForceContent, getForceFiles, getForceUrls, getGUIText, getGUIText, getInterruptsHandled, getMasterSubject, getName, getType, getWandora, handle, handleContent, handleCustomType, handleFiles, handleForcedContent, handleInterrupt, handleStringContent, handleUrls, initializeCustomType, instantDropHandle, makeSubclassOfWandoraClass, runInOwnThread, setData, setDisplayName, setForceContent, setForceFiles, setForceUrls, setMasterSubject, setMasterSubject, setTopicMap, setupCrawler, setWandora, takeNap, urlEncode, useTempTopicMapaddUndoMarker, 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, 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, getToolMenuItem, hlog, initialize, isConfigurable, isRunning, log, log, log, log, requiresRefresh, setContext, setToolLogger, writeOptionsforceStop, getHistory, getState, lockLog, setLogTitle, setProgress, setProgressMax, setStateprotected static boolean ISA_EQUALS_INSTANCE
public static java.lang.String termSIBase
public static java.lang.String SIPREFIX
public static java.lang.String COMMENT_SI
public static java.lang.String SIBLING_SI
public static java.lang.String FUNCTOR_SI
public static java.lang.String ARG_SI
public static java.lang.String ISA_SI
public static java.lang.String GENLS_SI
public static java.lang.String TERM_SI
public static java.lang.String COLLECTION_SI
public static java.lang.String INSTANCE_SI
public static java.lang.String LANG
public static boolean USE_EXISTING_TOPICS
private final java.lang.String[] contentTypes
public javax.swing.Icon getIcon()
AbstractWandoraToolgetIcon should return Icon object of
the tool.getIcon in interface WandoraToolgetIcon in class AbstractExtractorpublic java.lang.String[] getContentTypes()
HandlerContentHandler can process.getContentTypes in interface HandlergetContentTypes in class AbstractExtractorpublic boolean useURLCrawler()
useURLCrawler in class AbstractExtractorpublic boolean _extractTopicsFrom(java.net.URL url,
TopicMap topicMap)
throws java.lang.Exception
_extractTopicsFrom in class AbstractExtractorjava.lang.Exceptionpublic boolean _extractTopicsFrom(java.io.File file,
TopicMap topicMap)
throws java.lang.Exception
_extractTopicsFrom in class AbstractExtractorjava.lang.Exceptionpublic boolean _extractTopicsFrom(java.lang.String str,
TopicMap topicMap)
throws java.lang.Exception
_extractTopicsFrom in class AbstractExtractorjava.lang.Exceptionpublic abstract boolean _extractTopicsFrom(java.io.InputStream inputStream,
TopicMap topicMap)
throws java.lang.Exception
java.lang.Exceptionpublic abstract java.lang.String getMasterTerm(java.lang.String u)
protected static Topic getOrCreateTopic(TopicMap tm, java.lang.String si) throws TopicMapException
TopicMapExceptionprotected static Topic getOrCreateTopic(TopicMap tm, java.lang.String si, java.lang.String bn) throws TopicMapException
TopicMapExceptionprotected static void makeSubclassOf(TopicMap tm, Topic t, Topic superclass) throws TopicMapException
TopicMapExceptionprotected static Topic getWandoraClassTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionprotected static Topic getTermTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionprotected static Topic getCommentTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionprotected static Topic getSiblingTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionprotected static Topic getIsaTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionprotected static Topic getFunctorType(TopicMap tm) throws TopicMapException
TopicMapExceptionprotected static Topic getArgType(TopicMap tm, int argNum) throws TopicMapException
TopicMapExceptionprotected static Topic getCollectionTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionprotected static Topic getInstanceTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionprotected static Topic getTermTopic(java.lang.String guid, java.lang.String basename, TopicMap tm) throws TopicMapException
TopicMapExceptionCopyright 2004-2015 Wandora Team