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 TypeMethodDescriptionvoid
dispose()
protected void
finalize()
int
getSlice2DIndex
(int imageIndex) Read aSlice2DIndex
from file given the imageIndex.void
open()
static void
writeIndexFile
(File file, List<Slice2DIndex> indexList) Utility method to write an index file.
-
Constructor Details
-
Slice2DIndexManager
-
-
Method Details
-
open
- Throws:
IOException
-
getSlice2DIndex
Read aSlice2DIndex
from file given the imageIndex.- Parameters:
imageIndex
- the imageIndex to look for.- Returns:
- the
Slice2DIndex
for 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 ofSlice2DIndex
to dump to file.- Throws:
IOException
-
getNumberOfRecords
- Throws:
IOException
-
finalize
-