Class FMEGMLReader
java.lang.Object
com.vividsolutions.jump.io.AbstractJUMPReader
com.vividsolutions.jump.io.FMEGMLReader
- All Implemented Interfaces:
JUMPReader, TaskMonitorSupport
A driver that reads GML files following the FME default schema.
This is implemented using the more general
DataProperties for the driver
| Parameter | Meaning |
|---|---|
| File or DefaultValue | File name for the input FME .xml file |
| CompressedFile | File name (a .zip or .gz) with a .jml/.xml/.gml inside (specified by File) |
GMLReader.
It makes a GMLInputTemplate to pass to the GMLReader by examining
the schema specified in the input file.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGMLInputTemplate(InputStream inputStream, String fname) Parse the input file and make a GMLInputTemplate out of itread(DriverProperties dp) Main method - reads in FMEGML file specified in the DriverProperties ('InputFile' or 'DefaultValue')Methods inherited from class AbstractJUMPReader
addException, getExceptions, getTaskMonitor, setTaskMonitor
-
Constructor Details
-
FMEGMLReader
public FMEGMLReader()Creates new FMEGMLReader
-
-
Method Details
-
read
Main method - reads in FMEGML file specified in the DriverProperties ('InputFile' or 'DefaultValue')- Specified by:
readin interfaceJUMPReader- Specified by:
readin classAbstractJUMPReader- Parameters:
dp-DriverPropertiesto specify the file to read ('InputFile' or 'DefaultValue')- Throws:
Exception
-
getGMLInputTemplate
public GMLInputTemplate getGMLInputTemplate(InputStream inputStream, String fname) throws IOException, ParseException Parse the input file and make a GMLInputTemplate out of it- Parameters:
inputStream- a UTF-8 encoded input streamfname- just used in error message- Throws:
IOExceptionParseException
-