Package org.geotools.imageio.netcdf
Class Slice2DIndex.Slice2DIndexManager
Object
Slice2DIndexManager
- Enclosing class:
 - Slice2DIndex
 
An wrapper for variable index files.
- Author:
 - Andrea Antonello, Simone Giannecchini, GeoSolutions
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()protected voidfinalize()intgetSlice2DIndex(int imageIndex) Read aSlice2DIndexfrom file given the imageIndex.voidopen()static voidwriteIndexFile(File file, List<Slice2DIndex> indexList) Utility method to write an index file. 
- 
Constructor Details
- 
Slice2DIndexManager
 
 - 
 - 
Method Details
- 
open
- Throws:
 IOException
 - 
getSlice2DIndex
Read aSlice2DIndexfrom file given the imageIndex.- Parameters:
 imageIndex- the imageIndex to look for.- Returns:
 - the 
Slice2DIndexfor the picked image. - Throws:
 IOException
 - 
dispose
- Throws:
 IOException
 - 
writeIndexFile
Utility method to write an index file.- Parameters:
 file- the file to write to.indexList- the list ofSlice2DIndexto dump to file.- Throws:
 IOException
 - 
getNumberOfRecords
- Throws:
 IOException
 - 
finalize
 
 -