EsriGraphicList list = null;
// Open and stream shp file
try {
InputStream is = shp.openStream();
ShpInputStream pis = new ShpInputStream(is);
if (drawingAttributes != null) {
pis.setDrawingAttributes(drawingAttributes);
}
list = pis.getGeometry();
is.close();
} catch (Exception e) {
Debug.error("EsriGraphicList: Not able to stream SHP file");
if (Debug.debugging("shape") || true) {
e.printStackTrace();