String fileName=".SHP";
fileName.equals(".shp")为false;
fileName.equalsIgnoreCase(".shp")为TRUE;
equalsIgnoreCase与equals区别在于前者不区分大小写
String fileName=".SHP";
fileName.equals(".shp")为false;
fileName.equalsIgnoreCase(".shp")为TRUE;
equalsIgnoreCase与equals区别在于前者不区分大小写