Class GetTiles
java.lang.Object
org.deltava.dao.file.DAO
org.deltava.dao.file.GetTiles
- All Implemented Interfaces:
SeriesReader
A Data Access Object to read image tiles from the filesystem.
- Since:
- 10.0
- Version:
- 11.3
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReads available image dates for a given type.getTile(String imgType, Instant effDate, TileAddress addr) Reads a tile.getTypes()Lists the available imagery types.Methods inherited from class org.deltava.dao.file.DAO
getReader, getStream, setBufferSize
-
Constructor Details
-
GetTiles
public GetTiles()Creates the Data Access Object.
-
-
Method Details
-
getTypes
Description copied from interface:SeriesReaderLists the available imagery types.- Specified by:
getTypesin interfaceSeriesReader- Returns:
- a Collection of types
- Throws:
DAOException- if an error occurs
-
getDates
Description copied from interface:SeriesReaderReads available image dates for a given type.- Specified by:
getDatesin interfaceSeriesReader- Parameters:
type- the image type- Returns:
- a Collection of Dates
- Throws:
DAOException- if a timeout or I/O error occurs
-
getTile
Description copied from interface:SeriesReaderReads a tile.- Specified by:
getTilein interfaceSeriesReader- Parameters:
imgType- the image typeeffDate- the effective dateaddr- the TileAddress- Returns:
- a PNGTile, or null if none
- Throws:
DAOException- if an error occurs
-