@Test public void testPatch() throws Exception { DwcaSource src = new DwcaSource("patch checklist", BACKBONE_PATCH_DWCA); assertNotNull(src); src.init(true, false); int counter = 0; for (SrcUsage u : src) { assertNotNull(u.key); assertNotNull(u.scientificName); counter++; } assertTrue(counter > 30); src.close(); }
@Override public void close() { super.close(); FileUtils.deleteQuietly(cfg.archiveRepository); FileUtils.deleteQuietly(cfg.neo.neoRepository); }
DwcaSource extends NubSource { @Override public void close() { super.close(); FileUtils.deleteQuietly(cfg.archiveRepository); FileUtils.deleteQuietly(cfg.neo.neoRepository); } }
DwcaSource extends NubSource { @Override public void close() { super.close(); FileUtils.deleteQuietly(cfg.archiveRepository); FileUtils.deleteQuietly(cfg.neo.neoRepository); } DwcaSource(String name, File dwca);  DwcaSource(String name, URL dwca); }
DwcaSource extends NubSource { @Override public void close() { super.close(); FileUtils.deleteQuietly(cfg.archiveRepository); FileUtils.deleteQuietly(cfg.neo.neoRepository); } DwcaSource(String name, File dwca);  DwcaSource(String name, URL dwca); @Override void initNeo(NeoUsageWriter writer); @Override void close(); }
DwcaSource extends NubSource { @Override public void close() { super.close(); FileUtils.deleteQuietly(cfg.archiveRepository); FileUtils.deleteQuietly(cfg.neo.neoRepository); } DwcaSource(String name, File dwca);  DwcaSource(String name, URL dwca); @Override void initNeo(NeoUsageWriter writer); @Override void close();  }