|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.esa.beam.framework.dataio.ProductIOPlugInManager
public class ProductIOPlugInManager
The ProductIOPlugInManager class is used to manage all registered reader and writer plug-ins.
This class implements the singleton design pattern, since only one manager instance is required in the system.
| Constructor Summary | |
|---|---|
protected |
ProductIOPlugInManager()
Protected constructor - singleton |
| Method Summary | |
|---|---|
void |
addReaderPlugIn(ProductReaderPlugIn readerPlugIn)
Registers the specified reader plug-in by adding it to this manager. |
void |
addWriterPlugIn(ProductWriterPlugIn writerPlugIn)
Registers the specified writer plug-in by adding it to this manager. |
String[] |
getAllProductWriterFormatStrings()
Returns a String[] which contains all the product writer format strings of registered product
writers, never Null. |
Iterator<ProductReaderPlugIn> |
getAllReaderPlugIns()
Gets all registered reader plug-ins. |
Iterator<ProductWriterPlugIn> |
getAllWriterPlugIns()
Gets all registered writer plug-ins. |
static ProductIOPlugInManager |
getInstance()
Gets this's managers singleton instance. |
Iterator<ProductReaderPlugIn> |
getReaderPlugIns(String formatName)
Gets all reader plug-ins which support the given format name. |
Iterator<ProductWriterPlugIn> |
getWriterPlugIns(String formatName)
Gets all writer plug-ins which support the given format name. |
boolean |
removeReaderPlugIn(ProductReaderPlugIn readerPlugIn)
Removes the first occurrence of the specified reader plug-in. |
boolean |
removeWriterPlugIn(ProductWriterPlugIn writerPlugIn)
Removes the first occurrence of the specified writer plug-in. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ProductIOPlugInManager()
| Method Detail |
|---|
public static ProductIOPlugInManager getInstance()
public Iterator<ProductReaderPlugIn> getAllReaderPlugIns()
public Iterator<ProductReaderPlugIn> getReaderPlugIns(String formatName)
formatName - the name of the format, must not be null
public void addReaderPlugIn(ProductReaderPlugIn readerPlugIn)
null, nothing happens.
readerPlugIn - the reader plug-in to be added to this managerpublic boolean removeReaderPlugIn(ProductReaderPlugIn readerPlugIn)
readerPlugIn - the reader plug-in to be removed from this manager, if present
true if this manager contained the specified reader plug-inpublic Iterator<ProductWriterPlugIn> getAllWriterPlugIns()
public Iterator<ProductWriterPlugIn> getWriterPlugIns(String formatName)
formatName - the name of the format, must not be null
public void addWriterPlugIn(ProductWriterPlugIn writerPlugIn)
null, nothing happens.
writerPlugIn - the writer plug-in to be added to this managerpublic boolean removeWriterPlugIn(ProductWriterPlugIn writerPlugIn)
writerPlugIn - the writer plug-in to be removed from this manager, if present
true if this manager contained the specified writer plug-inpublic String[] getAllProductWriterFormatStrings()
String[] which contains all the product writer format strings of registered product
writers, never Null. Returns never Null.
String[] which contains all the product writer format strings of registered product
writers.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||