public class ICalExtractor extends AbstractExtractor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ICAL_ALARM_SI |
static java.lang.String |
ICAL_CAL_TZ_SI |
static java.lang.String |
ICAL_CALENDAR_SI |
static java.lang.String |
ICAL_CALSCALE_SI |
static java.lang.String |
ICAL_CAT_SI |
static java.lang.String |
ICAL_CLASS_SI |
static java.lang.String |
ICAL_COUNTRY_SI |
static java.lang.String |
ICAL_CREATED_SI |
static java.lang.String |
ICAL_DATE_SI |
static java.lang.String |
ICAL_DESCRIPTION_SI |
static java.lang.String |
ICAL_DUE_TIME_SI |
static java.lang.String |
ICAL_DURATION_SI |
static java.lang.String |
ICAL_END_TIME_SI |
static java.lang.String |
ICAL_EVENT_SI |
static java.lang.String |
ICAL_EXTADDR_SI |
static java.lang.String |
ICAL_LAT_SI |
static java.lang.String |
ICAL_LOCALITY_SI |
static java.lang.String |
ICAL_LOCATION_SI |
static java.lang.String |
ICAL_LOCTYPE_SI |
static java.lang.String |
ICAL_LON_SI |
static java.lang.String |
ICAL_MODIFIED_SI |
static java.lang.String |
ICAL_NAME_SI |
static java.lang.String |
ICAL_ORGANIZER_SI |
static java.lang.String |
ICAL_POSTALCODE_SI |
static java.lang.String |
ICAL_PRIOR_SI |
static java.lang.String |
ICAL_RECURRENCE_SI |
static java.lang.String |
ICAL_REGION_SI |
static java.lang.String |
ICAL_REPEAT_SI |
static java.lang.String |
ICAL_SI |
static java.lang.String |
ICAL_STADDR_SI |
static java.lang.String |
ICAL_START_TIME_SI |
static java.lang.String |
ICAL_STATUS_SI |
static java.lang.String |
ICAL_SUMMARY_SI |
static java.lang.String |
ICAL_TODO_COMPLETED_SI |
static java.lang.String |
ICAL_TODO_DATE_COMPLETED_SI |
static java.lang.String |
ICAL_TODO_SI |
static java.lang.String |
ICAL_TRANSP_SI |
static java.lang.String |
ICAL_TRIGGER_SI |
static java.lang.String |
ICAL_TZID_SI |
static java.lang.String |
ICAL_UID_SI |
static java.lang.String |
ICAL_URL_SI |
static java.lang.String |
ICAL_VENUE_SI |
static java.lang.String |
ICAL_VERSION_SI |
static java.lang.String |
LANG |
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_EXTRACTOR
CLOSE, EXECUTE, INVISIBLE, VISIBLE, WAIT
RETURN_ERROR, RETURN_INFO
Constructor and Description |
---|
ICalExtractor() |
Modifier and Type | Method and Description |
---|---|
boolean |
_extractTopicsFrom(java.io.File f,
TopicMap t) |
boolean |
_extractTopicsFrom(java.io.InputStream inputStream,
TopicMap topicMap) |
boolean |
_extractTopicsFrom(java.lang.String str,
TopicMap t) |
boolean |
_extractTopicsFrom(java.net.URL u,
TopicMap t) |
void |
createAssociation(TopicMap tm,
Topic pType,
Topic pTopic,
java.lang.String SI,
java.lang.String siExt,
java.lang.String typeName,
java.lang.String topicName) |
void |
createAssociation(TopicMap tm,
Topic topic,
Topic pType,
Topic pTopic,
java.lang.String SI,
java.lang.String typeName,
java.lang.String topicName) |
void |
createOccurrence(TopicMap tm,
Topic pTopic,
Topic lt,
java.lang.String SI,
java.lang.String typeName,
java.lang.String topicName) |
Topic |
getAlarmType(TopicMap tm) |
protected Topic |
getATopic(java.lang.String str,
java.lang.String si,
Topic type,
TopicMap tm) |
Topic |
getCalendarTopic(java.lang.String calendar,
TopicMap tm) |
Topic |
getCalendarType(TopicMap tm) |
Topic |
getComponentUIDType(TopicMap tm) |
Topic |
getDefaultLangTopic(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.
|
Topic |
getDescriptionType(TopicMap tm) |
Topic |
getEventType(TopicMap tm) |
Topic |
getiCalendarType(TopicMap tm) |
javax.swing.Icon |
getIcon()
All tools may have identifying graphic icon used within tool GUI elements.
|
Topic |
getLocationTopic(java.lang.String location,
TopicMap tm) |
Topic |
getLocationType(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) |
protected static Topic |
getOrCreateTopic(TopicMap tm,
java.lang.String si,
java.lang.String bn,
Topic type) |
Topic |
getToDoType(TopicMap tm) |
WandoraToolType |
getType()
Tool type is used to categorize tools.
|
protected Topic |
getUTopic(java.lang.String si,
Topic type,
TopicMap tm) |
Topic |
getVenueType(TopicMap tm) |
Topic |
getWandoraClass(TopicMap tm) |
protected static void |
makeSubclassOf(TopicMap tm,
Topic t,
Topic superclass) |
Topic |
parseAlarm(net.fortuna.ical4j.model.component.VAlarm alarm,
TopicMap topicMap,
java.lang.String eventUid,
java.lang.String eventSummary,
int i) |
boolean |
parseCalendar(net.fortuna.ical4j.model.Calendar calendar,
TopicMap topicMap) |
Topic |
parseEvent(net.fortuna.ical4j.model.component.VEvent event,
TopicMap topicMap) |
Topic |
parseToDo(net.fortuna.ical4j.model.component.VToDo todo,
TopicMap topicMap) |
Topic |
parseVenue(net.fortuna.ical4j.model.component.VVenue venue,
TopicMap topicMap) |
boolean |
runInOwnThread()
Whether or not this tool should fork own thread.
|
boolean |
useTempTopicMap() |
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, getContentTypes, getCrawlerMode, getExtractorType, getForceContent, getForceFiles, getForceUrls, getGUIText, getGUIText, getInterruptsHandled, getMasterSubject, getWandora, handle, handleContent, handleCustomType, handleFiles, handleForcedContent, handleInterrupt, handleStringContent, handleUrls, initializeCustomType, instantDropHandle, makeSubclassOfWandoraClass, setData, setDisplayName, setForceContent, setForceFiles, setForceUrls, setMasterSubject, setMasterSubject, setTopicMap, setupCrawler, setWandora, takeNap, urlEncode
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, setContext, setDefaultLogger, setLogTitle, setProgress, setProgressMax, setState, setToolLogger, singleLog, singleLog, singleLog, solveContextTopicMap, solveNameForTopicMap, writeOptions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure, execute, execute, getContext, getToolMenuItem, hlog, initialize, isConfigurable, isRunning, log, log, log, log, requiresRefresh, setContext, setToolLogger, writeOptions
forceStop, getHistory, getState, lockLog, setLogTitle, setProgress, setProgressMax, setState
public static final java.lang.String ICAL_SI
public static final java.lang.String ICAL_CALENDAR_SI
public static final java.lang.String ICAL_VERSION_SI
public static final java.lang.String ICAL_CALSCALE_SI
public static final java.lang.String ICAL_CAL_TZ_SI
public static final java.lang.String ICAL_NAME_SI
public static final java.lang.String ICAL_DESCRIPTION_SI
public static final java.lang.String ICAL_UID_SI
public static final java.lang.String ICAL_URL_SI
public static final java.lang.String ICAL_LAT_SI
public static final java.lang.String ICAL_LON_SI
public static final java.lang.String ICAL_CREATED_SI
public static final java.lang.String ICAL_MODIFIED_SI
public static final java.lang.String ICAL_START_TIME_SI
public static final java.lang.String ICAL_END_TIME_SI
public static final java.lang.String ICAL_SUMMARY_SI
public static final java.lang.String ICAL_LOCATION_SI
public static final java.lang.String ICAL_PRIOR_SI
public static final java.lang.String ICAL_CLASS_SI
public static final java.lang.String ICAL_ORGANIZER_SI
public static final java.lang.String ICAL_STATUS_SI
public static final java.lang.String ICAL_RECURRENCE_SI
public static final java.lang.String ICAL_CAT_SI
public static final java.lang.String ICAL_DATE_SI
public static final java.lang.String ICAL_EVENT_SI
public static final java.lang.String ICAL_TRANSP_SI
public static final java.lang.String ICAL_VENUE_SI
public static final java.lang.String ICAL_STADDR_SI
public static final java.lang.String ICAL_EXTADDR_SI
public static final java.lang.String ICAL_LOCALITY_SI
public static final java.lang.String ICAL_REGION_SI
public static final java.lang.String ICAL_COUNTRY_SI
public static final java.lang.String ICAL_POSTALCODE_SI
public static final java.lang.String ICAL_TZID_SI
public static final java.lang.String ICAL_LOCTYPE_SI
public static final java.lang.String ICAL_ALARM_SI
public static final java.lang.String ICAL_TRIGGER_SI
public static final java.lang.String ICAL_DURATION_SI
public static final java.lang.String ICAL_REPEAT_SI
public static final java.lang.String ICAL_TODO_SI
public static final java.lang.String ICAL_DUE_TIME_SI
public static final java.lang.String ICAL_TODO_DATE_COMPLETED_SI
public static final java.lang.String ICAL_TODO_COMPLETED_SI
public static final java.lang.String LANG
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 AbstractExtractor
public java.lang.String getName()
AbstractWandoraTool
getName
in interface WandoraTool
getName
in class AbstractExtractor
public java.lang.String getDescription()
AbstractWandoraTool
getDescription
in interface WandoraTool
getDescription
in class AbstractExtractor
public javax.swing.Icon getIcon()
AbstractWandoraTool
getIcon
should return Icon
object of
the tool.getIcon
in interface WandoraTool
getIcon
in class AbstractExtractor
public boolean runInOwnThread()
AbstractWandoraTool
runInOwnThread
in class AbstractExtractor
public boolean useTempTopicMap()
useTempTopicMap
in class AbstractExtractor
public boolean useURLCrawler()
useURLCrawler
in class AbstractExtractor
public boolean _extractTopicsFrom(java.io.File f, TopicMap t) throws java.lang.Exception
_extractTopicsFrom
in class AbstractExtractor
java.lang.Exception
public boolean _extractTopicsFrom(java.net.URL u, TopicMap t) throws java.lang.Exception
_extractTopicsFrom
in class AbstractExtractor
java.lang.Exception
public boolean _extractTopicsFrom(java.lang.String str, TopicMap t) throws java.lang.Exception
_extractTopicsFrom
in class AbstractExtractor
java.lang.Exception
public boolean _extractTopicsFrom(java.io.InputStream inputStream, TopicMap topicMap) throws java.lang.Exception
java.lang.Exception
public boolean parseCalendar(net.fortuna.ical4j.model.Calendar calendar, TopicMap topicMap)
public Topic parseVenue(net.fortuna.ical4j.model.component.VVenue venue, TopicMap topicMap)
public Topic parseEvent(net.fortuna.ical4j.model.component.VEvent event, TopicMap topicMap)
public Topic parseAlarm(net.fortuna.ical4j.model.component.VAlarm alarm, TopicMap topicMap, java.lang.String eventUid, java.lang.String eventSummary, int i)
protected static Topic getOrCreateTopic(TopicMap tm, java.lang.String si) throws TopicMapException
TopicMapException
protected static Topic getOrCreateTopic(TopicMap tm, java.lang.String si, java.lang.String bn) throws TopicMapException
TopicMapException
protected static Topic getOrCreateTopic(TopicMap tm, java.lang.String si, java.lang.String bn, Topic type) throws TopicMapException
TopicMapException
protected static void makeSubclassOf(TopicMap tm, Topic t, Topic superclass) throws TopicMapException
TopicMapException
protected Topic getATopic(java.lang.String str, java.lang.String si, Topic type, TopicMap tm) throws TopicMapException
TopicMapException
protected Topic getUTopic(java.lang.String si, Topic type, TopicMap tm) throws TopicMapException
TopicMapException
public void createAssociation(TopicMap tm, Topic pType, Topic pTopic, java.lang.String SI, java.lang.String siExt, java.lang.String typeName, java.lang.String topicName)
public void createAssociation(TopicMap tm, Topic topic, Topic pType, Topic pTopic, java.lang.String SI, java.lang.String typeName, java.lang.String topicName)
public void createOccurrence(TopicMap tm, Topic pTopic, Topic lt, java.lang.String SI, java.lang.String typeName, java.lang.String topicName)
public Topic getCalendarTopic(java.lang.String calendar, TopicMap tm) throws TopicMapException
TopicMapException
public Topic getCalendarType(TopicMap tm) throws TopicMapException
TopicMapException
public Topic getComponentUIDType(TopicMap tm) throws TopicMapException
TopicMapException
public Topic getDescriptionType(TopicMap tm) throws TopicMapException
TopicMapException
public Topic getLocationType(TopicMap tm) throws TopicMapException
TopicMapException
public Topic getLocationTopic(java.lang.String location, TopicMap tm) throws TopicMapException
TopicMapException
public Topic getEventType(TopicMap tm) throws TopicMapException
TopicMapException
public Topic getVenueType(TopicMap tm) throws TopicMapException
TopicMapException
public Topic getAlarmType(TopicMap tm) throws TopicMapException
TopicMapException
public Topic getToDoType(TopicMap tm) throws TopicMapException
TopicMapException
public Topic getiCalendarType(TopicMap tm) throws TopicMapException
TopicMapException
public Topic getWandoraClass(TopicMap tm) throws TopicMapException
TopicMapException
public Topic getDefaultLangTopic(TopicMap tm) throws TopicMapException
TopicMapException
Copyright 2004-2015 Wandora Team