public class OSMParser extends DefaultHandler
| Constructor and Description |
|---|
OSMParser() |
| Modifier and Type | Method and Description |
|---|---|
void |
endDocument() |
void |
endElement(String uri,
String localName,
String qName) |
boolean |
read(Connection connection,
String tableName,
File inputFile,
org.h2gis.api.ProgressVisitor progress)
Read the OSM file and create its corresponding tables.
|
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
characters, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic boolean read(Connection connection, String tableName, File inputFile, org.h2gis.api.ProgressVisitor progress) throws SQLException
inputFile - tableName - connection - progress - SQLExceptionpublic void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic void endDocument()
throws SAXException
endDocument in interface ContentHandlerendDocument in class DefaultHandlerSAXExceptionpublic void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionCopyright © 2019 CNRS. All rights reserved.