284285286287288289290291292293294
// write out the file FileOutputStream fos = null; try { fos = new FileOutputStream(file); cppio.encode(o, fos); } finally { IOUtils.closeQuietly(fos); } // create the link
320321322323324325326327328329330
}; } else { os = fileImageOutputStreamExtImpl; } // Encoding the GridCoverage complexPPIO.encode(gridCoverage, new OutputStreamAdapter(os)); os.flush(); } finally { try { if (os != null) { os.close();