public class GeoParser
extends org.apache.tika.parser.AbstractParser
| Constructor and Description |
|---|
GeoParser() |
| Modifier and Type | Method and Description |
|---|---|
Set<org.apache.tika.mime.MediaType> |
getSupportedTypes(org.apache.tika.parser.ParseContext parseContext) |
boolean |
isAvailable() |
void |
parse(InputStream stream,
ContentHandler handler,
org.apache.tika.metadata.Metadata metadata,
org.apache.tika.parser.ParseContext context) |
HashMap<String,ArrayList<String>> |
searchGeoNames(ArrayList<String> locationNameEntities) |
public Set<org.apache.tika.mime.MediaType> getSupportedTypes(org.apache.tika.parser.ParseContext parseContext)
public void parse(InputStream stream, ContentHandler handler, org.apache.tika.metadata.Metadata metadata, org.apache.tika.parser.ParseContext context) throws IOException, SAXException, org.apache.tika.exception.TikaException
IOExceptionSAXExceptionorg.apache.tika.exception.TikaExceptionpublic HashMap<String,ArrayList<String>> searchGeoNames(ArrayList<String> locationNameEntities) throws org.apache.commons.exec.ExecuteException, IOException
org.apache.commons.exec.ExecuteExceptionIOExceptionpublic boolean isAvailable()
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.