String s = shp.getCanonicalPath();
int pos1 = s.lastIndexOf('.');
String name = s.substring(0, pos1);
File shx = new File(s.substring(0, pos1) + ".shx");
File dbf = new File(s.substring(0, pos1) + ".dbf");
EsriLayer layer = new EsriLayer(name, dbf.toURL(), shp.toURL(), shx.toURL());
_layerHandler.addLayer(layer);
} catch (Exception exception) {
System.out.println(exception);
}
}