ftImpl = featureDataset.getImplementationName(); Formatter infof = new Formatter(); featureDataset.getDetailInfo(infof); info.append(infof.toString()); } else {
ftImpl = featureDataset.getImplementationName(); Formatter infof = new Formatter(); featureDataset.getDetailInfo(infof); info.append(infof.toString()); } else {
ftImpl = featureDataset.getImplementationName(); Formatter infof = new Formatter(); featureDataset.getDetailInfo(infof); info.append(infof.toString()); } else {
public static int checkPointFeatureDataset(String location, FeatureType type, boolean show) throws IOException { File fileIn = new File(location); String absIn = fileIn.getCanonicalPath(); absIn = StringUtil2.replace(absIn, "\\", "/"); System.out.printf("================ TestPointFeatureCollection read %s %n", absIn); Formatter out = new Formatter(); try (FeatureDataset fdataset = FeatureDatasetFactoryManager.open(type, location, null, out)) { if (fdataset == null) { System.out.printf("**failed on %s %n --> %s %n", location, out); assert false; } // FeatureDataset if (showAll) { System.out.printf("----------- testPointDataset getDetailInfo -----------------%n"); fdataset.getDetailInfo(out); System.out.printf("%s %n", out); } else { System.out.printf(" Feature Type %s %n", fdataset.getFeatureType()); } return checkPointFeatureDataset(fdataset, show); } }
result.getDetailInfo(out); System.out.printf("%s %n", out);