@Test public void testEmptyMultipleTypes() throws Exception { SimpleFeatureCollection fc = getFeaturesFromProperties(ALL_TYPES).subCollection(Filter.EXCLUDE); ShapefileDumper dumper = new ShapefileDumper(dumperFolder); assertFalse(dumper.dump(fc)); SimpleFeatureCollection allTypes = getFeaturesFromShapefile("AllTypes"); assertEquals(0, allTypes.size()); checkTypeStructure(allTypes.getSchema(), Point.class, "name"); }
public boolean dump(SimpleFeatureCollection fc) throws IOException { return dump(null, fc); }
ShapefileDumper { public boolean dump(SimpleFeatureCollection fc) throws IOException { return dump(null, fc); } }
ShapefileDumper { public boolean dump(SimpleFeatureCollection fc) throws IOException { return dump(null, fc); } ShapefileDumper(File targetDirectory); }
ShapefileDumper { public boolean dump(SimpleFeatureCollection fc) throws IOException { return dump(null, fc); } ShapefileDumper(File targetDirectory); long getMaxShpSize(); void setMaxShpSize(long maxShapeSize); long getMaxDbfSize(); void setMaxDbfSize(long maxDbfSize); Charset getCharset(); void setCharset(Charset charset); boolean isEmptyShapefileAllowed(); void setEmptyShapefileAllowed(boolean emptyShapefileAllowed); boolean dump(SimpleFeatureCollection fc); boolean dump(String fileName, SimpleFeatureCollection fc); }
ShapefileDumper { public boolean dump(SimpleFeatureCollection fc) throws IOException { return dump(null, fc); } ShapefileDumper(File targetDirectory); long getMaxShpSize(); void setMaxShpSize(long maxShapeSize); long getMaxDbfSize(); void setMaxDbfSize(long maxDbfSize); Charset getCharset(); void setCharset(Charset charset); boolean isEmptyShapefileAllowed(); void setEmptyShapefileAllowed(boolean emptyShapefileAllowed); boolean dump(SimpleFeatureCollection fc); boolean dump(String fileName, SimpleFeatureCollection fc);  }