@Override public List<HarvestedSource> harvest(String defaultTargetCoverage, Object source, Hints hints) throws IOException, UnsupportedOperationException { return structuredDelegate.harvest(defaultTargetCoverage, source, hints); }
@Override public List<HarvestedSource> harvest(String defaultTargetCoverage, Object source, Hints hints) throws IOException, UnsupportedOperationException { return structuredDelegate.harvest(defaultTargetCoverage, source, hints); }
@Override public List<HarvestedSource> harvest(String defaultTargetCoverage, Object source, Hints hints) throws IOException, UnsupportedOperationException { return delegate.harvest(defaultTargetCoverage, source, hints); }
@Override public List<HarvestedSource> harvest( String defaultTargetCoverage, Object source, Hints hints) throws IOException, UnsupportedOperationException { return structuredDelegate.harvest(defaultTargetCoverage, source, hints); }
private void harvestImportData(StructuredGridCoverage2DReader sr, ImportData data) throws IOException { if (data instanceof SpatialFile) { SpatialFile sf = (SpatialFile) data; List<HarvestedSource> harvests = sr.harvest(null, sf.getFile(), null); checkSingleHarvest(harvests); } else if (data instanceof Directory) { harvestDirectory(sr, (Directory) data); } else { unsupportedHarvestFileData(data); } }
sr.harvest(null, uploadedFiles, GeoTools.getDefaultHints());