Package org.locationtech.spatial4j.io
Interface ShapeWriter
-
- All Superinterfaces:
ShapeIO
- All Known Implementing Classes:
GeoJSONWriter,JtsGeoJSONWriter,JtsPolyshapeWriter,JtsWKTWriter,LegacyShapeWriter,PolyshapeWriter,WKTWriter
public interface ShapeWriter extends ShapeIO
Implementations are expected to be thread safe
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringtoString(Shape shape)Write a shape to Stringvoidwrite(Writer output, Shape shape)Write a shape to the output writer-
Methods inherited from interface org.locationtech.spatial4j.io.ShapeIO
getFormatName
-
-
-
-
Method Detail
-
write
void write(Writer output, Shape shape) throws IOException
Write a shape to the output writer- Throws:
IOException
-
-