GridCoverageReader reader = info.getGridCoverageReader(null, null);
StructuredGridCoverage2DReader sr = (StructuredGridCoverage2DReader) reader;
// This method returns a List of the harvested files.
final List<File> uploadedFiles = doFileUpload(method, workspace, coveragestore, format);
// File Harvesting
sr.harvest(null, uploadedFiles, GeoTools.getDefaultHints());
} catch(IOException e) {
throw new RestletException("File harvest failed", Status.SERVER_ERROR_INTERNAL, e);
}
}