|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface IlvRasterMappedBuffer.JITDataLoader
Class responsible for loading raster data when an IlvRasterTileLoader loads a tile whose buffer is empty (0 bytes).
| Method Summary | |
|---|---|
void |
loadData(IlvRasterMappedBuffer source,
IlvRasterProperties properties)
Method to load data when the tile loader needs it. |
void |
unloadData(IlvRasterMappedBuffer rasterMappedBuffer,
IlvRasterProperties rasterProperties)
Method to unload a tile content. |
| Method Detail |
|---|
void loadData(IlvRasterMappedBuffer source,
IlvRasterProperties properties)
public void loadData(IlvRasterMappedBuffer source,IlvRasterProperties properties) {
String fileName = properties.getBaseName();
... read the bytes deom the file ...
source.setBytes(bytes);
}
source - data Buffer to fill with data read on the fly.properties - information attached to this buffer.
void unloadData(IlvRasterMappedBuffer rasterMappedBuffer,
IlvRasterProperties rasterProperties)
rasterMappedBuffer - data Buffer to clear when tile is unloaded.rasterProperties - information attached to this buffer.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||