public class GeoNamesHierarchy extends AbstractGeoNamesExtractor
Modifier and Type | Class and Description |
---|---|
private static class |
GeoNamesHierarchy.HierarchyParser |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
dataLang |
java.lang.String |
requestGeoObject |
AREA_SI, BBOX_SI, BBOXEAST_SI, BBOXNORTH_SI, BBOXSOUTH_SI, BBOXWEST_SI, CAPITAL_SI, CHILD_SI, CITY_SI, CONTINENT_SI, COUNTRY_CAPITAL_SI, COUNTRY_CODE_SI, COUNTRY_SI, CURRENCY_SI, ELEVATION_SI, FCL_SI, FCODE_SI, FIPS_SI, GEONAMEID_SI, GEONAMES_PREFIX, GEOOBJECT_SI, GPS_SI, ISOALPHA3_SI, ISONUMERIC_SI, LANG, LANGUAGE_SI, LAT_SI, LNG_SI, LOCATED_SI, LOCATION_SI, NEIGHBOUR_SI, NEIGHBOUR2_SI, NEIGHBOURS_SI, PARENT_CHILD_SI, PARENT_SI, PART_SI, PART_WHOLE_SI, POPULATION_SI, SIBLING_SI, SIBLING2_SI, SIBLINGS_SI, USE_ALL_VARIANT_NAMES, USE_EXISTING_TOPICS, USE_FCODES_AS_PRIMARY_CATEGORIZATION, WEATHER_CLOUDS_SI, WEATHER_DEWPOINT_SI, WEATHER_ELEVATION_SI, WEATHER_HECTOPASCALTIMETER_SI, WEATHER_HUMIDITY_SI, WEATHER_ICAO_SI, WEATHER_OBSERVATION_SI, WEATHER_OBSERVATIONTIME_SI, WEATHER_SI, WEATHER_STATION_SI, WEATHER_TEMPERATURE_SI, WEATHER_WEATHERCONDITION_SI, WEATHER_WINDDIRECTION_SI, WEATHER_WINDSPEED_SI, WHOLE_SI, WIKIPEDIA_GEO_ENTRY_SI, WIKIPEDIA_GEO_FEATURE_SI, WIKIPEDIA_GEO_PREFIX, WIKIPEDIA_GEO_SUMMARY_SI, WIKIPEDIA_GEO_THUMBNAIL_SI, WIKIPEDIA_GEOOBJECT_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_EXTRACTOR
CLOSE, EXECUTE, INVISIBLE, VISIBLE, WAIT
RETURN_ERROR, RETURN_INFO
Constructor and Description |
---|
GeoNamesHierarchy() |
Modifier and Type | Method and Description |
---|---|
boolean |
_extractTopicsFrom(java.io.InputStream in,
TopicMap topicMap) |
void |
extractTopicsFrom(java.net.URL url,
TopicMap topicMap) |
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.
|
void |
setRequestGeoObject(java.lang.String p) |
_extractTopicsFrom, _extractTopicsFrom, _extractTopicsFrom, createCountryAlpha3SI, createCountryNumericSI, createFIPSSI, createGeonameSI, encode, getAreaTypeTopic, getBBoxEastTypeTopic, getBBoxNorthTypeTopic, getBBoxSouthTypeTopic, getBBoxTypeTopic, getBBoxWestTypeTopic, getCapitalTypeTopic, getChildTypeTopic, getCityTopic, getCityTopic, getCityTypeTopic, getContentTypes, getContinentData, getContinentTopic, getContinentTypeTopic, getCountryCapitalTypeTopic, getCountryData, getCountryTopic, getCountryTopic, getCountryTopic, getCountryTypeTopic, getCurrencyTopic, getCurrencyTypeTopic, getElevationTopic, getElevationTypeTopic, getFCLTopic, getFCLTypeTopic, getFCodeTopic, getFCodeTypeTopic, getFeatureClassData, getGenericTopic, getGeoNamesClassTopic, getGeoObjectTypeTopic, getGeoTopic, getGeoTopic, getGPSNumberTopic, getGPSNumberTypeTopic, getIcon, getLanguageTopic, getLanguageTypeTopic, getLatTypeTopic, getLngTypeTopic, getLocatedTypeTopic, getLocationTypeTopic, getNeighbour2TypeTopic, getNeighboursTypeTopic, getNeighbourTypeTopic, getOrCreateTopic, getOrCreateTopic, getParentChildTypeTopic, getParentTypeTopic, getPartTypeTopic, getPartWholeTypeTopic, getPopulationTypeTopic, getSibling2TypeTopic, getSiblingsTypeTopic, getSiblingTypeTopic, getWandoraClassTopic, getWeatherCloudsTopic, getWeatherCloudsTypeTopic, getWeatherConditionTypeTopic, getWeatherDewPointTypeTopic, getWeatherElevationTypeTopic, getWeatherHectoPascAltimeterTypeTopic, getWeatherHumidityTypeTopic, getWeatherICAOTypeTopic, getWeatherObservationTimeTypeTopic, getWeatherObservationTopic, getWeatherObservationTypeTopic, getWeatherStationTopic, getWeatherStationTypeTopic, getWeatherTemperatureTypeTopic, getWeatherWindDirectionTypeTopic, getWeatherWindSpeedTypeTopic, getWholeTypeTopic, getWikipediaFeatureTypeTopic, getWikipediaGeoFeatureTopic, getWikipediaGeoObjectTypeTopic, getWikipediaGeoTopic, getWikipediaSummaryTypeTopic, getWikipediaThumbnailTypeTopic, isValidGPSCoordinate, isValidSchemaLanguage, makeBoundingBox, makeChildParent, makeCountryCapital, makeGeoContinent, makeGeoCountry, makeGeoElevation, makeLatLong, makeNeighbours, makePartWhole, makeSiblings, makeSubclassOf, makeWeatherClouds, makeWeatherStation, nameGeoObjectTopic, solveContinentCode, solveCountryCode, solveCountryName, solveFeatureClassCode, 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, extractTopicsFromText, getBrowserExtractorName, getCrawlerMode, getExtractorType, getForceContent, getForceFiles, getForceUrls, getGUIText, getGUIText, getInterruptsHandled, getMasterSubject, 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, useTempTopicMap
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 java.lang.String dataLang
public java.lang.String requestGeoObject
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 void setRequestGeoObject(java.lang.String p)
public void extractTopicsFrom(java.net.URL url, TopicMap topicMap) throws java.lang.Exception
extractTopicsFrom
in class AbstractExtractor
java.lang.Exception
public boolean _extractTopicsFrom(java.io.InputStream in, TopicMap topicMap) throws java.lang.Exception
_extractTopicsFrom
in class AbstractGeoNamesExtractor
java.lang.Exception
Copyright 2004-2015 Wandora Team