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) |
getFormatName
Shape read(Object value) throws IOException, ParseException, InvalidShapeException
value
- -- the input value, could be a String or other objectIOException
ParseException
InvalidShapeException
Shape 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
invalidInvalidShapeException
Shape read(Reader reader) throws IOException, ParseException, InvalidShapeException
Shape
from the reader.reader
- -- the input. Note, it will not be closed by this functionIOException
ParseException
InvalidShapeException
Copyright © 2020 LocationTech. All rights reserved.