public class WKTWriter extends Object implements ShapeWriter
Constructor and Description |
---|
WKTWriter() |
Modifier and Type | Method and Description |
---|---|
protected StringBuilder |
append(StringBuilder buffer,
Point p,
NumberFormat nf) |
String |
getFormatName() |
protected NumberFormat |
getNumberFormat() |
String |
toString(Shape shape)
Write a shape to String
|
void |
write(Writer output,
Shape shape)
Write a shape to the output writer
|
public String getFormatName()
getFormatName
in interface ShapeIO
protected StringBuilder append(StringBuilder buffer, Point p, NumberFormat nf)
protected NumberFormat getNumberFormat()
public String toString(Shape shape)
ShapeWriter
toString
in interface ShapeWriter
public void write(Writer output, Shape shape) throws IOException
ShapeWriter
write
in interface ShapeWriter
IOException
Copyright © 2020 LocationTech. All rights reserved.