public interface IGroupParser
ArrayList
s for geometric shapes represented through IGeometric2D
and their boundaries represented through Rect2D
out of a given file.File
as an input and a String
representing the ID of a group of shapes.Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<IGeometric2D> |
parse(java.io.InputStream input,
java.lang.String groupID)
Parses the given
File into a group of geometric shapes. |
java.util.ArrayList<IGeometric2D> parse(java.io.InputStream input, java.lang.String groupID) throws java.lang.Exception
File
into a group of geometric shapes.input
- the given input stream.groupID
- the identifier for the group.java.lang.Exception
- if an error is found while parsing the input.