public interface ShapeReader extends ShapeIO
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 objecterror
- -- flag if we should throw an error or not (true will throw an error)InvalidShapeException
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 © 2015. All rights reserved.