Class WKTWriter
java.lang.Object
org.locationtech.spatial4j.io.WKTWriter
- All Implemented Interfaces:
ShapeIO, ShapeWriter
- Direct Known Subclasses:
JtsWKTWriter
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringBuilderappend(StringBuilder buffer, Point p, NumberFormat nf) protected NumberFormatWrite a shape to StringvoidWrite a shape to the output writer
-
Constructor Details
-
WKTWriter
public WKTWriter()
-
-
Method Details
-
getFormatName
- Specified by:
getFormatNamein interfaceShapeIO- Returns:
- the format name
-
append
-
getNumberFormat
-
toString
Description copied from interface:ShapeWriterWrite a shape to String- Specified by:
toStringin interfaceShapeWriter
-
write
Description copied from interface:ShapeWriterWrite a shape to the output writer- Specified by:
writein interfaceShapeWriter- Throws:
IOException
-