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