public interface IndexReader
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IndexReader.AddChildCallback |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPartition(Path indexFile)
Open an ncx file and find out what type it is
|
boolean |
readChildren(Path indexFile,
IndexReader.AddChildCallback callback)
Open a Partition ncx file and read children indexes
|
boolean |
readMFiles(Path indexFile,
List<MFile> result)
Read the MFiles from a GribCollection index file
|
boolean readChildren(Path indexFile, IndexReader.AddChildCallback callback) throws IOException
indexFile - the Partition ncx index file to opencallback - for each child index, call this backIOException - on bad thingsboolean isPartition(Path indexFile) throws IOException
indexFile - the ncx index file to openIOException - on badboolean readMFiles(Path indexFile, List<MFile> result) throws IOException
indexFile - the Partition ncx index file to openresult - put results in this listIOExceptionCopyright © 1999–2015 UCAR/Unidata. All rights reserved.