public class IlvCADRGTocReader extends Object
CADRG/RPF and is named A.TOC.
The table of contents of the CADRG product contains information about
the CADRG coverages stored in the data base.| Constructor and Description |
|---|
IlvCADRGTocReader(String fileName)
Creates an instance of
IlvCADRGTocReader and reads the table
of contents. |
IlvCADRGTocReader(URL url)
Creates an instance of
IlvCADRGTocReader for the specified
URL and reads the table of contents. |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Releases the resources allocated by the reader.
|
void |
finalize()
Enables the Java Garbage Collector to release the resources
allocated by the reader.
|
IlvCADRGCoverage[] |
getCoverages()
Returns the coverages of the CADRG data base.
|
Enumeration<IlvCADRGFrame> |
getLegendFrames()
Returns the list of the frames that are located in the
LEGEND directory. |
Enumeration<IlvCADRGFrame> |
getOverviewFrames()
Returns the list of overview frames that are located
in the
CADRG main directory. |
public IlvCADRGTocReader(String fileName) throws FileNotFoundException, IOException, IlvMapFormatException
IlvCADRGTocReader and reads the table
of contents.fileName - The name of the file containing the CADRG table of contents.FileNotFoundException - if the file cannot be opened.IOException - if an I/O error occurs.IlvMapFormatException - if the file is not a CADRG file.public IlvCADRGTocReader(URL url) throws IOException, IlvMapFormatException
IlvCADRGTocReader for the specified
URL and reads the table of contents.url - The URL of the file containing the CADRG table of contents.FileNotFoundException - if the file cannot be opened.IOException - if an I/O error occurs.IlvMapFormatException - if the file is not a CADRG file.public Enumeration<IlvCADRGFrame> getLegendFrames()
LEGEND directory.IlvCADRGFrame.public Enumeration<IlvCADRGFrame> getOverviewFrames()
CADRG main directory. IlvCADRGFrame .public IlvCADRGCoverage[] getCoverages()
public void dispose()
© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.