public interface BulkRetrievable
Modifier and Type | Method and Description |
---|---|
long |
getEstimatedMissingDataSize(Sector sector,
double resolution)
Estimates the amount of data, in bytes, that must be retrieved to the WorldWind data cache for a specified
sector and resolution.
|
long |
getEstimatedMissingDataSize(Sector sector,
double resolution,
FileStore fileStore)
Estimates the amount of data, in bytes, that must be retrieved to a specified filestore for a specified sector
and resolution.
|
java.lang.String |
getName() |
BulkRetrievalThread |
makeLocal(Sector sector,
double resolution,
BulkRetrievalListener listener)
Initiates data retrieval to the current WorldWind data cache.
|
BulkRetrievalThread |
makeLocal(Sector sector,
double resolution,
FileStore fileStore,
BulkRetrievalListener listener)
Initiates data retrieval to a specified filestore.
|
long getEstimatedMissingDataSize(Sector sector, double resolution)
sector
- the sector for which to retrieve the data.resolution
- the resolution desired. All data within the specified sector up to and including this
resolution is downloaded.long getEstimatedMissingDataSize(Sector sector, double resolution, FileStore fileStore)
sector
- the sector for which to retrieve the data.resolution
- the resolution desired. All data within the specified sector up to and including this
resolution is downloaded.fileStore
- the location to place the data. If null, the current WorldWind cache is used.java.lang.String getName()
BulkRetrievalThread makeLocal(Sector sector, double resolution, BulkRetrievalListener listener)
sector
- the sector for which to retrieve the data.resolution
- the resolution desired. All data within the specified sector up to and including this
resolution is downloaded.listener
- an optional bulk-download listener that can be used to monitor the success or failure of
individual retrievals. Note: The listener is called on the thread performing the download,
which is not the event dispatch thread. Therefore any interaction with AWT or Swing within the
call must be done within a call to SwingUtilities.invokeLater().BulkRetrievalThread makeLocal(Sector sector, double resolution, FileStore fileStore, BulkRetrievalListener listener)
sector
- the sector for which to retrieve the data.resolution
- the resolution desired. All data within the specified sector up to and including this
resolution is downloaded.listener
- an optional bulk-download listener that can be used to monitor the success or failure of
individual retrievals. Note: The listener is called on the thread performing the download,
which is not the event dispatch thread. Therefore any interaction with AWT or Swing within the
call must be done within a call to SwingUtilities.invokeLater().fileStore
- the location to place the data. If null, the current WorldWind cache is used.