org.esa.beam.framework.dataio
Interface ProductReaderListener
public interface ProductReaderListener
This imnterface must be implemented by classes that want to trace the progress of a product read operation
|
Method Summary |
boolean |
handleBandRasterLineRead(Band destBand,
int destOffsetX,
int destOffsetY,
int destWidth,
int destHeight,
ProductData destBuffer,
int destBufferPos)
Called when a complete line has successfully been read. |
boolean |
handleBandRasterRectRead(Band destBand,
int destOffsetX,
int destOffsetY,
int destWidth,
int destHeight,
ProductData destBuffer)
|
handleBandRasterLineRead
boolean handleBandRasterLineRead(Band destBand,
int destOffsetX,
int destOffsetY,
int destWidth,
int destHeight,
ProductData destBuffer,
int destBufferPos)
- Called when a complete line has successfully been read.
- Parameters:
destBand - the destination band which identifies the data source from which to read the sample valuesdestOffsetX - the X-offset in the band's raster co-ordinatesdestOffsetY - the current line (Y-offset) in the band's raster co-ordinatesdestWidth - the width of region to be read given in the band's raster co-ordinatesdestHeight - the height of region to be read given in the band's raster co-ordinatesdestBuffer - the destination buffer which receives the sample values to be readdestBufferPos - the offset within the buffer where the line which just has been read in is stored
handleBandRasterRectRead
boolean handleBandRasterRectRead(Band destBand,
int destOffsetX,
int destOffsetY,
int destWidth,
int destHeight,
ProductData destBuffer)
- Parameters:
destBand - the destination band which identifies the data source from which to read the sample valuesdestOffsetX - the X-offset in the band's raster co-ordinatesdestOffsetY - the current line (Y-offset) in the band's raster co-ordinatesdestWidth - the width of region to be read given in the band's raster co-ordinatesdestHeight - the height of region to be read given in the band's raster co-ordinatesdestBuffer - the destination buffer which receives the sample values to be read
Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.