public interface IGPEParser
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.net.URI uri)
Return if the driver can open the file
|
IGPEContentHandlerInmGeom |
getContentHandler() |
java.lang.String |
getDescription() |
IGPEErrorHandler |
getErrorHandler() |
java.lang.String |
getFormat()
Return the format that the driver
is able to read
|
java.net.URI |
getMainFile() |
java.lang.String |
getName() |
java.lang.String |
getProjection()
gets the default parser projection
|
void |
parse(IGPEContentHandlerInmGeom contents,
IGPEErrorHandler errors,
java.io.InputStream is)
Method to parse an InputStream.
|
void |
parse(IGPEContentHandlerInmGeom contents,
IGPEErrorHandler errors,
java.net.URI uri)
Method to parse a file.
|
void |
setContentHandler(IGPEContentHandlerInmGeom contentHandler) |
void |
setErrorHandler(IGPEErrorHandler errorHandler) |
void parse(IGPEContentHandlerInmGeom contents, IGPEErrorHandler errors, java.net.URI uri)
contents
- Application ContentHandlererrors
- Application ErrorsHandleruri
- File to openjava.lang.Exception
void parse(IGPEContentHandlerInmGeom contents, IGPEErrorHandler errors, java.io.InputStream is)
contents
- Application ContentHandlererrors
- Application ErrorsHandleris
- The input streamjava.lang.Exception
boolean accept(java.net.URI uri)
uri
- File to openjava.lang.String getFormat()
IGPEContentHandlerInmGeom getContentHandler()
IGPEErrorHandler getErrorHandler()
java.net.URI getMainFile()
java.lang.String getDescription()
java.lang.String getName()
void setErrorHandler(IGPEErrorHandler errorHandler)
errorHandler
- the errorHandler to setvoid setContentHandler(IGPEContentHandlerInmGeom contentHandler)
contentHandler
- the contentHandler to setjava.lang.String getProjection()