public interface ShapeReader extends ShapeIO
| Modifier and Type | Method and Description |
|---|---|
Shape |
read(Object value) |
Shape |
read(Reader reader)
Read a
Shape from the reader. |
Shape |
readIfSupported(Object value) |
getFormatNameShape read(Object value) throws IOException, ParseException, InvalidShapeException
value - -- the input value, could be a String or other objectIOExceptionParseExceptionInvalidShapeExceptionShape readIfSupported(Object value) throws InvalidShapeException
value - -- the input value, could be a String or other objectInvalidShapeException when we could read a shape, but it was
invalidInvalidShapeExceptionShape read(Reader reader) throws IOException, ParseException, InvalidShapeException
Shape from the reader.reader - -- the input. Note, it will not be closed by this functionIOExceptionParseExceptionInvalidShapeExceptionCopyright © 2025 LocationTech. All rights reserved.