it.geosolutions.imageioimpl.plugins.tiff
Class TIFFLazyData

Object
  extended by TIFFLazyData

public class TIFFLazyData
extends Object

Lazy loading for large tiff fields. We use this approach for loading much less data for a single request, namely for tile position and lengths which in bigtiff can be enormous.

To perform this we retain an open stream to the data and we jump to read as less information as possible

Author:
Daniele Romagnoli, GeoSolutions SAS

Constructor Summary
TIFFLazyData(ImageInputStream stream, int type, int count)
           
 
Method Summary
 long getAsLong(int index)
           
 long getAsLong8(int index)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TIFFLazyData

public TIFFLazyData(ImageInputStream stream,
                    int type,
                    int count)
             throws IOException
Throws:
IOException
Method Detail

getAsLong

public long getAsLong(int index)

getAsLong8

public long getAsLong8(int index)


Copyright © 2006-2012 GeoSolutions. All Rights Reserved.