public abstract class AbstractEuropeanaExtractor extends AbstractExtractor
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COLLECTION_NAME_SI |
static java.lang.String |
CONCEPT_LABEL_SI |
private java.lang.String[] |
contentTypes |
static java.lang.String |
COUNTRY_SI |
static java.lang.String |
DATA_PROVIDER_SI |
static java.lang.String |
DC_CREATOR_SI |
static java.lang.String |
EUROPEANA_SI |
static java.lang.String |
GUID_LINK_SI |
static java.lang.String |
ITEM_SI |
static java.lang.String |
LANG_SI |
static java.lang.String |
LANGUAGE_SI |
static java.lang.String |
PLACE_LABEL_SI |
static java.lang.String |
PREVIEW_LINK_SI |
static java.lang.String |
PROVIDER_SI |
static java.lang.String |
RIGHTS_LINK_SI |
static java.lang.String |
TITLE_SI |
static java.lang.String |
TYPE_SI |
static java.lang.String |
YEAR_SI |
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 |
|---|
AbstractEuropeanaExtractor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_extractTopicsFrom(java.io.File f,
TopicMap t) |
boolean |
_extractTopicsFrom(java.lang.String str,
TopicMap t) |
boolean |
_extractTopicsFrom(java.net.URL u,
TopicMap t) |
static Topic |
getCollectionNameTopic(java.lang.String collectionName,
TopicMap tm) |
static Topic |
getCollectionNameTypeTopic(TopicMap tm) |
static Topic |
getConceptLabelTypeTopic(TopicMap tm) |
java.lang.String[] |
getContentTypes()
Returns an array of String containing the content-types this
ContentHandler can process. |
static Topic |
getCountryTopic(java.lang.String country,
TopicMap tm) |
static Topic |
getCountryTypeTopic(TopicMap tm) |
static Topic |
getDataProviderTopic(java.lang.String dataProvider,
TopicMap tm) |
static Topic |
getDataProviderTypeTopic(TopicMap tm) |
static Topic |
getDcCreatorTopic(java.lang.String dcCreator,
TopicMap tm) |
static Topic |
getDcCreatorTypeTopic(TopicMap tm) |
java.lang.String |
getDescription()
AdminToolManager views tool descriptions while user browses available
tools and build user customizable GUI elements such as Tools menu.
|
static Topic |
getEuropeanaTypeTopic(TopicMap tm) |
static Topic |
getGuidLinkTypeTopic(TopicMap tm) |
javax.swing.Icon |
getIcon()
All tools may have identifying graphic icon used within tool GUI elements.
|
static Topic |
getItemTypeTopic(TopicMap tm) |
protected static Topic |
getLangTopic(TopicMap tm) |
static Topic |
getLanguageTypeTopic(TopicMap tm) |
java.lang.String |
getName()
Tools name represent the tool in UI unless the tool has been given
explicitly another GUI name.
|
protected static Topic |
getOrCreateTopic(TopicMap tm,
java.lang.String si) |
protected static Topic |
getOrCreateTopic(TopicMap tm,
java.lang.String si,
java.lang.String bn) |
static Topic |
getPlaceLabelTypeTopic(TopicMap tm) |
static Topic |
getPreviewLinkTypeTopic(TopicMap tm) |
static Topic |
getProviderTopic(java.lang.String provider,
TopicMap tm) |
static Topic |
getProviderTypeTopic(TopicMap tm) |
static Topic |
getRightsLinkTopic(java.lang.String rights,
TopicMap tm) |
static Topic |
getRightsLinkTypeTopic(TopicMap tm) |
static Topic |
getTitleTypeTopic(TopicMap tm) |
static Topic |
getTypeTopic(java.lang.String type,
TopicMap tm) |
static Topic |
getTypeTypeTopic(TopicMap tm) |
protected static Topic |
getWandoraClassTopic(TopicMap tm) |
static Topic |
getYearTopic(java.lang.String year,
TopicMap tm) |
static Topic |
getYearTypeTopic(TopicMap tm) |
protected static void |
makeSubclassOf(TopicMap tm,
Topic t,
Topic superclass) |
boolean |
runInOwnThread()
Whether or not this tool should fork own thread.
|
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, getExtractorType, getForceContent, getForceFiles, getForceUrls, getGUIText, getGUIText, getInterruptsHandled, getMasterSubject, getType, getWandora, handle, handleContent, handleCustomType, handleFiles, handleForcedContent, handleInterrupt, handleStringContent, handleUrls, initializeCustomType, instantDropHandle, makeSubclassOfWandoraClass, 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, setStateprivate final java.lang.String[] contentTypes
public static final java.lang.String LANG_SI
public static final java.lang.String EUROPEANA_SI
public static final java.lang.String ITEM_SI
public static final java.lang.String PROVIDER_SI
public static final java.lang.String LANGUAGE_SI
public static final java.lang.String YEAR_SI
public static final java.lang.String RIGHTS_LINK_SI
public static final java.lang.String TITLE_SI
public static final java.lang.String DC_CREATOR_SI
public static final java.lang.String COUNTRY_SI
public static final java.lang.String COLLECTION_NAME_SI
public static final java.lang.String CONCEPT_LABEL_SI
public static final java.lang.String TYPE_SI
public static final java.lang.String DATA_PROVIDER_SI
public static final java.lang.String PLACE_LABEL_SI
public static final java.lang.String PREVIEW_LINK_SI
public static final java.lang.String GUID_LINK_SI
public java.lang.String getName()
AbstractWandoraToolgetName in interface WandoraToolgetName in class AbstractExtractorpublic java.lang.String getDescription()
AbstractWandoraToolgetDescription in interface WandoraToolgetDescription in class AbstractExtractorpublic 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 runInOwnThread()
AbstractWandoraToolrunInOwnThread in class AbstractExtractorpublic boolean _extractTopicsFrom(java.io.File f,
TopicMap t)
throws java.lang.Exception
_extractTopicsFrom in class AbstractExtractorjava.lang.Exceptionpublic boolean _extractTopicsFrom(java.net.URL u,
TopicMap t)
throws java.lang.Exception
_extractTopicsFrom in class AbstractExtractorjava.lang.Exceptionpublic boolean _extractTopicsFrom(java.lang.String str,
TopicMap t)
throws java.lang.Exception
_extractTopicsFrom in class AbstractExtractorjava.lang.Exceptionprotected static Topic getLangTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionprotected static Topic getWandoraClassTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionprotected 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
TopicMapExceptionpublic static Topic getEuropeanaTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionpublic static Topic getItemTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionpublic static Topic getProviderTopic(java.lang.String provider, TopicMap tm) throws TopicMapException
TopicMapExceptionpublic static Topic getProviderTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionpublic static Topic getLanguageTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionpublic static Topic getYearTopic(java.lang.String year, TopicMap tm) throws TopicMapException
TopicMapExceptionpublic static Topic getYearTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionpublic static Topic getRightsLinkTopic(java.lang.String rights, TopicMap tm) throws TopicMapException
TopicMapExceptionpublic static Topic getRightsLinkTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionpublic static Topic getTitleTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionpublic static Topic getDcCreatorTopic(java.lang.String dcCreator, TopicMap tm) throws TopicMapException
TopicMapExceptionpublic static Topic getDcCreatorTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionpublic static Topic getCountryTopic(java.lang.String country, TopicMap tm) throws TopicMapException
TopicMapExceptionpublic static Topic getCountryTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionpublic static Topic getCollectionNameTopic(java.lang.String collectionName, TopicMap tm) throws TopicMapException
TopicMapExceptionpublic static Topic getCollectionNameTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionpublic static Topic getConceptLabelTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionpublic static Topic getTypeTopic(java.lang.String type, TopicMap tm) throws TopicMapException
TopicMapExceptionpublic static Topic getTypeTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionpublic static Topic getDataProviderTopic(java.lang.String dataProvider, TopicMap tm) throws TopicMapException
TopicMapExceptionpublic static Topic getDataProviderTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionpublic static Topic getPlaceLabelTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionpublic static Topic getPreviewLinkTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionpublic static Topic getGuidLinkTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionCopyright 2004-2015 Wandora Team