|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bbn.openmap.layer.rpf.RpfFileSections
public class RpfFileSections
The class to use to get the locations of different sections of the RPF files. This class will find out the section locations, and then let you use it later to get to and read those sections.
Nested Class Summary | |
---|---|
static class |
RpfFileSections.RpfCoverageSection
|
static class |
RpfFileSections.RpfLocationRecord
|
static class |
RpfFileSections.RpfLocationSection
|
Constructor Summary | |
---|---|
RpfFileSections()
|
|
RpfFileSections(BinaryFile binFile)
Create the file sections object, and then go ahead and parse the file section section of the RPF file. |
Method Summary | |
---|---|
RpfFileSections.RpfLocationRecord[] |
getLocations(int key)
|
RpfFileSections.RpfLocationRecord |
getRpfLocationRecord(int locationRecordId)
This function returns the location record, which provides the file location for a particular section. |
void |
parse(BinaryFile binFile)
|
RpfAttributes |
parseAttributes(BinaryFile binFile)
Read the location and information about the attribute section. |
java.awt.Color[] |
parseColorSection(BinaryFile binFile,
RpfColortable colortable)
This kicks back an array of OMColors, representing the colortable. |
RpfFileSections.RpfCoverageSection |
parseCoverageSection(BinaryFile binFile)
Read the location and information about the coverage section. |
protected boolean |
parseLocationSection(BinaryFile binFile)
This function returns the RpfLocationSection for the file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int LOC_BOUNDARIES
public static final int LOC_FRAMES
public static final int LOC_COVERAGE
public static final int LOC_COMPRESSION
public static final int LOC_CLUT
public static final int LOC_IMAGE
public static final int LOC_HEADER_SECTION
public static final int LOC_LOCATION_SECTION
public static final int LOC_COVERAGE_SECTION
public static final int LOC_COMPRESSION_SECTION
public static final int LOC_COMPRESSION_LOOKUP_SUBSECTION
public static final int LOC_COMPRESSION_PARAMETER_SUBSECTION
public static final int LOC_COLORGRAY_SECTION_SUBHEADER
public static final int LOC_COLORMAP_SUBSECTION
public static final int LOC_IMAGE_DESCR_SUBHEADER
public static final int LOC_IMAGE_DISPLAY_PARAM_SUBHEADER
public static final int LOC_MASK_SUBSECTION
public static final int LOC_COLOR_CONVERTER_SUBSECTION
public static final int LOC_SPATIAL_DATA_SUBSECTION
public static final int LOC_ATTRIBUTE_SECTION_SUBHEADER
public static final int LOC_ATTRIBUTE_SUBSECTION
public static final int LOC_EXPLICIT_AREAL_TABLE
public static final int LOC_RELATED_IMAGE_SECTION_SUBHEADER
public static final int LOC_RELATED_IMAGE_SUBSECTION
public static final int LOC_REPLACE_UPDATE_SECTION_SUBHEADER
public static final int LOC_REPLACE_UPDATE_TABLE
public static final int LOC_BOUNDARY_SECTION_SUBHEADER
public static final int LOC_BOUNDARY_RECTANGLE_TABLE
public static final int LOC_FRAME_FILE_INDEX_SUBHEADER
public static final int LOC_FRAME_FILE_INDEX_SUBSECTION
public static final int LOC_COLOR_TABLE_SECTION_SUBHEADER
public static final int LOC_COLOR_TABLE_INDEX_RECORD
public static final int TOC_LOCATION_KEY
public static final int FRAME_LOCATION_KEY
public static final int COLOR_LOCATION_KEY
protected boolean DEBUG_RPFDETAIL
Constructor Detail |
---|
public RpfFileSections()
public RpfFileSections(BinaryFile binFile)
binFile
- the binaryFile of the RPF frame file.Method Detail |
---|
public void parse(BinaryFile binFile)
public RpfFileSections.RpfLocationRecord[] getLocations(int key)
public RpfFileSections.RpfLocationRecord getRpfLocationRecord(int locationRecordId)
protected boolean parseLocationSection(BinaryFile binFile)
public RpfFileSections.RpfCoverageSection parseCoverageSection(BinaryFile binFile)
public RpfAttributes parseAttributes(BinaryFile binFile)
public java.awt.Color[] parseColorSection(BinaryFile binFile, RpfColortable colortable)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |