The datastore class gives you the list of type names:
String[] getTypeNames()
For a shapefile they only hold one kind of content - so it is a very short list
of one.
Jody
On 12/01/2011, at 6:14 AM, mounir younes wrote:
> I was trying to read a shapefile and print all it's features on screen
I was trying to read a shapefile and print all it's features on screen
but i couldn't find what the type name was so i am having problems and
this is the code
File file = new File("ex/example.shp");
Map map = new HashMap();
map.put( "url", file.toURL() );
DataStore dataSto