public interface DataRasterReaderFactory
Modifier and Type | Method and Description |
---|---|
DataRasterReader |
findReaderFor(Object source,
AVList params)
Search the list of available data raster readers for one that will read a specified data source.
|
DataRasterReader |
findReaderFor(Object source,
AVList params,
DataRasterReader[] readers)
Search a specified list of data raster readers for one that will read a specified data source.
|
DataRasterReader[] |
getReaders()
Returns this class' list of readers.
|
DataRasterReader findReaderFor(Object source, AVList params)
Configuration
, as specified by the AVKey.DATA_RASTER_READER_FACTORY_CLASS_NAME
.
If no factory is specified in the configuration, BasicDataRasterReaderFactory
is
used.source
- the source to read. May by a File
, a file path, a URL or an InputStream
.params
- optional metadata associated with the data source that might be useful in determining the data
reader. TODO: How does the caller determine which parameters are necessary or useful?IllegalArgumentException
- if the source is null.DataRasterReader findReaderFor(Object source, AVList params, DataRasterReader[] readers)
source
- the source to read. May by a File
, a file path, a URL or an InputStream
.params
- optional metadata associated with the data source that might be useful in determining the data
reader.readers
- the list of readers to search.IllegalArgumentException
- if either the source or the reader list is null.DataRasterReader[] getReaders()