/** * Encodes the internal object representation of a parameter into an output stream using * specific encoding parameters */ public void encode(Object value, Map<String, Object> encodingParameters, OutputStream os) throws Exception { encode(value, os); };
((ComplexPPIO) ppio_).encode(features, os);
complexPPIO.encode(gridCoverage, encodingParams, new OutputStreamAdapter(os)); os.flush(); } finally {
try { fos = new FileOutputStream(file); cppio.encode(o, fos); } finally { IOUtils.closeQuietly(fos);
(FeatureCollection) o, listener); cppio.encode(o, os);