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 ShapeIOprotected StringBuilder append(StringBuilder buffer, Point p, NumberFormat nf)
protected NumberFormat getNumberFormat()
public String toString(Shape shape)
ShapeWritertoString in interface ShapeWriterpublic void write(Writer output, Shape shape) throws IOException
ShapeWriterwrite in interface ShapeWriterIOExceptionCopyright © 2025 LocationTech. All rights reserved.