public abstract class AbstractAudioScrobblerExtractor extends AbstractExtractor
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ALBUM_SI |
static java.lang.String |
ARTIST_SI |
private java.lang.String[] |
contentTypes |
static boolean |
CONVERT_COUNTS |
static boolean |
CONVERT_MATCH |
static boolean |
CONVERT_REACH |
static boolean |
CONVERT_TRACK_INDEX |
static java.lang.String |
COUNT_SI |
static java.lang.String |
IMAGE_SI |
static java.lang.String |
INDEX_SI |
static java.lang.String |
LANG |
static java.lang.String |
MATCH_SI |
static java.lang.String |
MBID_SI |
static java.lang.String |
MUSIC_SI |
static boolean |
OCCURRENCE_COUNTS |
static java.lang.String |
REACH_SI |
static java.lang.String |
RELEASEDATE_SI |
static java.lang.String |
SIMILAR_ARTIST_SI |
static java.lang.String |
SIPREFIX |
static java.lang.String |
STREAMABLE_SI |
static java.lang.String |
TAG_SI |
static java.lang.String |
TRACK_SI |
static boolean |
USE_EXISTING_TOPICS
Try to retrieve topic before new is created.
|
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 |
|---|
AbstractAudioScrobblerExtractor() |
| 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 |
getAlbumTopic(TopicMap tm,
java.lang.String theAlbumString,
java.lang.String theArtistString) |
protected static Topic |
getAlbumTopic(TopicMap tm,
java.lang.String theAlbumString,
java.lang.String theAlbumUrl,
java.lang.String theArtistString) |
protected static Topic |
getAlbumTopic(TopicMap tm,
java.lang.String theAlbumString,
java.lang.String theAlbumUrl,
java.lang.String theAlbumMBID,
java.lang.String theArtistString) |
protected static Topic |
getAlbumTypeTopic(TopicMap tm) |
protected static Topic |
getArtistTopic(TopicMap tm,
java.lang.String theArtistString) |
protected static Topic |
getArtistTopic(TopicMap tm,
java.lang.String theArtistString,
java.lang.String artistUrl,
java.lang.String artistMBID) |
protected static Topic |
getArtistTypeTopic(TopicMap tm) |
java.lang.String[] |
getContentTypes()
Returns an array of String containing the content-types this
ContentHandler can process. |
protected static Topic |
getCountTopic(TopicMap tm,
java.lang.String c) |
protected static Topic |
getCountTypeTopic(TopicMap tm) |
protected static Topic |
getDefaultLangTopic(TopicMap tm) |
javax.swing.Icon |
getIcon()
All tools may have identifying graphic icon used within tool GUI elements.
|
protected static Topic |
getImageTopic(TopicMap tm,
java.lang.String imageUrl,
java.lang.String owner) |
protected static Topic |
getImageTypeTopic(TopicMap tm) |
protected static Topic |
getIndexTopic(TopicMap tm,
int index) |
protected static Topic |
getIndexTypeTopic(TopicMap tm) |
protected static Topic |
getMatchTopic(TopicMap tm,
java.lang.String m) |
protected static Topic |
getMatchTypeTopic(TopicMap tm) |
protected static Topic |
getMBIDTypeTopic(TopicMap tm) |
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 |
getReachTopic(TopicMap tm,
java.lang.String r) |
protected static Topic |
getReachTypeTopic(TopicMap tm) |
protected static Topic |
getScrobblerClassTopic(TopicMap tm) |
protected static Topic |
getSimilarArtistsTypeTopic(TopicMap tm) |
protected static Topic |
getStreamableTypeTopic(TopicMap tm) |
protected static Topic |
getTagTopic(TopicMap tm,
java.lang.String tag) |
protected static Topic |
getTagTopic(TopicMap tm,
java.lang.String tag,
java.lang.String tagUrl) |
protected static Topic |
getTagTypeTopic(TopicMap tm) |
protected static Topic |
getTrackTopic(TopicMap tm,
java.lang.String theTrackString,
java.lang.String albumString,
java.lang.String artistString) |
protected static Topic |
getTrackTopic(TopicMap tm,
java.lang.String theTrackString,
java.lang.String theTrackUrl,
java.lang.String albumString,
java.lang.String artistString) |
protected static Topic |
getTrackTypeTopic(TopicMap tm) |
WandoraToolType |
getType()
Tool type is used to categorize tools.
|
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, 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, setStatepublic static java.lang.String LANG
public static boolean CONVERT_COUNTS
public static boolean CONVERT_REACH
public static boolean CONVERT_MATCH
public static boolean CONVERT_TRACK_INDEX
public static boolean OCCURRENCE_COUNTS
public static boolean USE_EXISTING_TOPICS
public static final java.lang.String SIPREFIX
public static final java.lang.String MUSIC_SI
public static final java.lang.String ARTIST_SI
public static final java.lang.String SIMILAR_ARTIST_SI
public static final java.lang.String MATCH_SI
public static final java.lang.String IMAGE_SI
public static final java.lang.String MBID_SI
public static final java.lang.String STREAMABLE_SI
public static final java.lang.String ALBUM_SI
public static final java.lang.String TRACK_SI
public static final java.lang.String INDEX_SI
public static final java.lang.String REACH_SI
public static final java.lang.String RELEASEDATE_SI
public static final java.lang.String TAG_SI
public static final java.lang.String COUNT_SI
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 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 AbstractExtractorpublic boolean useURLCrawler()
useURLCrawler in class AbstractExtractorpublic java.lang.String[] getContentTypes()
HandlerContentHandler can process.getContentTypes in interface HandlergetContentTypes 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.Exceptionprotected 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 getArtistTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionprotected static Topic getImageTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionprotected static Topic getAlbumTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionprotected static Topic getTrackTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionprotected static Topic getTagTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionprotected static Topic getIndexTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionprotected static Topic getReachTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionprotected static Topic getMatchTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionprotected static Topic getCountTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionprotected static Topic getStreamableTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionprotected static Topic getSimilarArtistsTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionprotected static Topic getScrobblerClassTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionprotected static Topic getWandoraClassTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionprotected static Topic getMBIDTypeTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionprotected static Topic getDefaultLangTopic(TopicMap tm) throws TopicMapException
TopicMapExceptionprotected static Topic getArtistTopic(TopicMap tm, java.lang.String theArtistString) throws TopicMapException
TopicMapExceptionprotected static Topic getArtistTopic(TopicMap tm, java.lang.String theArtistString, java.lang.String artistUrl, java.lang.String artistMBID) throws TopicMapException
TopicMapExceptionprotected static Topic getAlbumTopic(TopicMap tm, java.lang.String theAlbumString, java.lang.String theArtistString) throws TopicMapException
TopicMapExceptionprotected static Topic getAlbumTopic(TopicMap tm, java.lang.String theAlbumString, java.lang.String theAlbumUrl, java.lang.String theArtistString) throws TopicMapException
TopicMapExceptionprotected static Topic getAlbumTopic(TopicMap tm, java.lang.String theAlbumString, java.lang.String theAlbumUrl, java.lang.String theAlbumMBID, java.lang.String theArtistString) throws TopicMapException
TopicMapExceptionprotected static Topic getTrackTopic(TopicMap tm, java.lang.String theTrackString, java.lang.String albumString, java.lang.String artistString) throws TopicMapException
TopicMapExceptionprotected static Topic getTrackTopic(TopicMap tm, java.lang.String theTrackString, java.lang.String theTrackUrl, java.lang.String albumString, java.lang.String artistString) throws TopicMapException
TopicMapExceptionprotected static Topic getImageTopic(TopicMap tm, java.lang.String imageUrl, java.lang.String owner) throws TopicMapException
TopicMapExceptionprotected static Topic getTagTopic(TopicMap tm, java.lang.String tag) throws TopicMapException
TopicMapExceptionprotected static Topic getTagTopic(TopicMap tm, java.lang.String tag, java.lang.String tagUrl) throws TopicMapException
TopicMapExceptionprotected static Topic getIndexTopic(TopicMap tm, int index) throws TopicMapException
TopicMapExceptionprotected static Topic getReachTopic(TopicMap tm, java.lang.String r) throws TopicMapException
TopicMapExceptionprotected static Topic getMatchTopic(TopicMap tm, java.lang.String m) throws TopicMapException
TopicMapExceptionprotected static Topic getCountTopic(TopicMap tm, java.lang.String c) throws TopicMapException
TopicMapExceptionCopyright 2004-2015 Wandora Team