/** * Provides a fallback, a value that looks like a GMLCOV conformance class. Delegates that can * be actually associated to an official conformance class should override this method */ public String getConformanceClass(String format) { return "http://www.opengis.net/spec/WCS_coverage-encoding-x" + getMimeType(format); } }
@Override public String getFileName(GridCoverage2D value, String coverageId, String format) { GranuleStack granuleStack = toGranuleStack(value); for (NetCDFEncoderFactory factory : encoderFactories) { String fileName = factory.getOutputFileName(granuleStack, coverageId, format); if (fileName != null) { return fileName; } } return super.getFileName(value, coverageId, format); } }