Package org.locationtech.jts.jump.io
Class WKTWriter
- java.lang.Object
-
- org.locationtech.jts.jump.io.WKTWriter
-
- All Implemented Interfaces:
JUMPWriter
public class WKTWriter extends Object implements JUMPWriter
WKTWriter is aJUMPWriter
specialized to write WTK (Well Known Text) files.DataProperties for the JUMPWriter write(featureSchema,DataProperties) interface:
Parameter Meaning OutputFile or DefaultValue File name for output .wkt file
-
-
Constructor Summary
Constructors Constructor Description WKTWriter()
constuctor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(FeatureCollection featureCollection, Writer writer)
Function that actually does the writingvoid
write(FeatureCollection featureCollection, DriverProperties dp)
Main method - writes a list of wkt features (no attributes).
-
-
-
Method Detail
-
write
public void write(FeatureCollection featureCollection, DriverProperties dp) throws IllegalParametersException, Exception
Main method - writes a list of wkt features (no attributes).- Specified by:
write
in interfaceJUMPWriter
- Parameters:
featureCollection
- features to writedp
- 'OutputFile' or 'DefaultValue' to specify the output file.- Throws:
IllegalParametersException
Exception
-
write
public void write(FeatureCollection featureCollection, Writer writer) throws IOException
Function that actually does the writing- Parameters:
featureCollection
- features to writewriter
- where to write- Throws:
IOException
-
-