public static class Slice2DIndex.Slice2DIndexManager extends Object
| Constructor and Description | 
|---|
| Slice2DIndexManager(File file) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | dispose() | 
| protected void | finalize() | 
| int | getNumberOfRecords() | 
| Slice2DIndex | getSlice2DIndex(int imageIndex)Read a  Slice2DIndexfrom file given the imageIndex. | 
| void | open() | 
| static void | writeIndexFile(File file,
              List<Slice2DIndex> indexList)Utility method to write an index file. | 
public Slice2DIndexManager(File file)
public void open()
          throws IOException
IOExceptionpublic Slice2DIndex getSlice2DIndex(int imageIndex) throws IOException
Slice2DIndex from file given the imageIndex.imageIndex - the imageIndex to look for.Slice2DIndex for the picked image.IOExceptionpublic void dispose()
             throws IOException
IOExceptionpublic static void writeIndexFile(File file, List<Slice2DIndex> indexList) throws IOException
file - the file to write to.indexList - the list of Slice2DIndex to dump to file.IOExceptionpublic int getNumberOfRecords()
                       throws IOException
IOExceptionCopyright © 1996–2019 Geotools. All rights reserved.