public class FMEGMLReader extends AbstractJUMPReader
| 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) |
This is implemented using the more general GMLReader.
It makes a GMLInputTemplate to pass to the GMLReader by examining
the schema specified in the input file.
| Constructor and Description |
|---|
FMEGMLReader()
Creates new FMEGMLReader
|
| Modifier and Type | Method and Description |
|---|---|
GMLInputTemplate |
getGMLInputTemplate(java.io.Reader r,
java.lang.String fname)
Parse the input file and make a GMLInputTemplate out of it
|
FeatureCollection |
read(DriverProperties dp)
Main method - reads in FMEGML file specified in the DriverProperties ('InputFile' or 'DefaultValue')
|
getExceptionspublic FeatureCollection read(DriverProperties dp) throws IllegalParametersException, java.lang.Exception
read in interface JUMPReaderread in class AbstractJUMPReaderdp - DriverProperties to specify the file to read ('InputFile' or 'DefaultValue')IllegalParametersExceptionjava.lang.Exceptionpublic GMLInputTemplate getGMLInputTemplate(java.io.Reader r, java.lang.String fname) throws java.io.IOException, ParseException
fname - just used in error messager - Java Readerjava.io.IOExceptionParseException