com.vividsolutions.jump.io |
|
Java Source File Name | Type | Comment |
BaseFeatureInputStream.java | Class | Base class for FeatureInputStreamReaders. |
ColumnDescription.java | Class | This is a helper class to store information about a JCS Column for the GML Parser (
GMLReader ). |
CompressedFile.java | Class | Utility class for dealing with compressed (.zip, .gz) files. |
DriverProperties.java | Class | Object to store a bunch of key/value pairs used by the input/output drivers/classes. |
EndianDataInputStream.java | Class | A class that gives most of the functionality of DataInputStream, but is endian aware. |
EndianDataOutputStream.java | Class | A class that gives most of the functionality of DataOutputStream, but is endian aware. |
EndOfParseException.java | Class | This is a fake exception class so the
GMLReader can abort a read mid-stream via the standard SAX error handing methods. |
FeatureInputStream.java | Interface | A stream of features from an external source, which
may throw exceptions during processing. |
FMEGMLReader.java | Class | A driver that reads GML files following the FME default schema. |
FMEGMLWriter.java | Class | This class is a
JUMPWriter specialized to write FMEGML.
DataProperties for the JCSWriter write(featureSchema,DataProperties)
interface:
Parameter |
Meaning |
OutputFile or DefaultValue |
File name for output .xml file |
FMEFormatVersion |
'2000' or '2001' |
The format version specifies which version of FME GML this
should produce. |
FUTURE_JTS_WKTWriter.java | Class | Outputs the textual representation of a
Geometry .
The WKTWriter outputs coordinates rounded to the precision
model. |
GMLGeometryWriter.java | Class | Writes or creates a formatted string containing the GML
representation of a JTS Geometry. |
GMLInputTemplate.java | Class | Reads an XML file that starts with a 'JCSGMLInputTemplate'. |
GMLOutputTemplate.java | Class | This class provides a parser for reading GMLOuputTemplates. |
GMLReader.java | Class | GMLReader is a
JUMPReader specialized to read GML files.
DataProperties for the JCSReader load(DataProperties) interface:
Parameter |
Meaning |
File or DefaultValue
|
File name for the input .xml file
|
InputTemplateFile
|
Filename for the GMLInputTemplate .xml file
|
CompressedFile |
File name (a .zip or .gz) with a .jml/.xml/.gml inside
(specified by File)
|
CompressedFileTemplate | File name (.zip or .gz)
with the input template in (specified by InputTemplateFile)
|
NOTE: If InputTemplateFile is unspecified, GMLReader will try to read one
off the top of the input .xml file (the JCS format). |
GMLWriter.java | Class | GMLWriter is a
JUMPWriter specialized to output GML.
DataProperties for the JCSWriter write(featureSchema,DataProperties) interface:
Parameter | Meaning |
OutputFile or DefaultValue |
File name for output .xml file |
OutputTemplateFile |
File name for GMLOutputTemplate file |
NOTE: If OutputTemplateFile is unspecified, one will be auto-created (the JCS format).
Programmer details:
This is usually called as follows:
gmlWriter= new GMLWriter();
gmlWriter.write( DriverProperites);
or:
gmlWriter.setOutputTemplate( GMLOutputTemplate);
gmlWriter.write( , );
Also, the function "makeOutputTemplate()" is useful for
autogenerating the JCS outputtemplate.
Output will be formed from the OutputTeplate like:
headerText
==== This section repeated for each feature
featureText[0] <evaluate codeText[0]>
featureText[1] <evaluate codeText[1]>
... |
IllegalParametersException.java | Class | Simple class to report missing/bad
DriverProperties problems. |
JMLReader.java | Class | JMLReader is a
JUMPReader specialized to read JML. |
JMLWriter.java | Class | JMLWriter is a
JUMPWriter specialized to write JML. |
JUMPReader.java | Interface | Interface for JUMPReader classes. |
JUMPWriter.java | Interface | Interface for JUMPWriter classes. |
ParseException.java | Class | Simple exception class to express problems parsing data. |
ShapefileReader.java | Class | ShapefileReader is a
JUMPReader specialized to read Shapefiles.
DataProperties for the JUMPReader load(DataProperties) interface:
Parameter | Meaning |
InputFile or DefaultValue |
File name for the input .shp file |
NOTE: The input .dbf is assumed to be 'beside' (in the same
directory) as the .shp file.
|
CompressedFile |
File name (.zip NOT a .gz) with a .shp and .dbf file inside |
Uses a modified version of geotools to do the .dbf and .shp
file reading. | ShapefileWriter.java | Class | ShapefileWriter is a
JUMPWriter specialized to write Shapefiles.
DataProperties for the ShapefileWriter write(DataProperties) interface:
Parameter |
Meaning |
OutputFile or DefaultValue |
File name for the output .shp file |
ShapeType |
Dimentionality of the Shapefile - 'xy', 'xym' or 'xyz'. | WKTReader.java | Class | WKTReader is a
JUMPReader specialized to read WTK (Well Known Text) files. | WKTWriter.java | Class | WKTWriter is a
JUMPWriter specialized to write WTK (Well Known Text) files. |
| |