public interface ProductReaderPlugIn extends ProductIOPlugIn
ProductReaderPlugIn
interface is implemented by data product reader plug-ins.
XMLDecoder plug-ins are used to provide meta-information about a particular data format and to create instances of the actual reader objects.
A plug-in can register itself in the ProductIO
plug-in registry or it is automatically found during
a classpath scan.
ProductWriterPlugIn
Modifier and Type | Method and Description |
---|---|
ProductReader |
createReaderInstance()
Creates an instance of the actual product reader class.
|
DecodeQualification |
getDecodeQualification(Object input)
Gets the qualification of the product reader to decode a given input object.
|
Class[] |
getInputTypes()
Returns an array containing the classes that represent valid input types for this reader.
|
getDefaultFileExtensions, getDescription, getFormatNames, getProductFileFilter
DecodeQualification getDecodeQualification(Object input)
input
- the input objectClass[] getInputTypes()
Instances of the classes returned in this array are valid objects for the setInput
method of the
ProductReader
interface (the method will not throw an InvalidArgumentException
in this
case).
null
ProductReader createReaderInstance()
null
.null
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.