public interface ProductWriterPlugIn extends ProductIOPlugIn
ProductWriterPlugIn interface is implemented by data product writer plug-ins.
XMLCoder plug-ins are used to provide meta-information about a particular data format and to create instances of the actual writer objects.
A plug-in can register itself in the ProductIO plug-in registry or it is automatically found during
a classpath scan.
ProductReaderPlugIn| Modifier and Type | Method and Description |
|---|---|
ProductWriter |
createWriterInstance()
Creates an instance of the actual product writer class.
|
EncodeQualification |
getEncodeQualification(Product product)
Gets the encode qualification of this product writer plugin w.r.t. the given product.
|
Class[] |
getOutputTypes()
Returns an array containing the classes that represent valid output types for this writer.
|
getDefaultFileExtensions, getDescription, getFormatNames, getProductFileFilterEncodeQualification getEncodeQualification(Product product)
product - The product.Class[] getOutputTypes()
Intances of the classes returned in this array are valid objects for the setOutput method of the
ProductWriter interface (the method will not throw an InvalidArgumentException in this
case).
nullProductWriter.writeProductNodes(org.esa.snap.core.datamodel.Product, java.lang.Object)ProductWriter createWriterInstance()
null.nullCopyright © 2014–2017 European Space Agency (ESA). All rights reserved.