public class RpfHeader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
char |
classification |
java.lang.String |
country |
boolean |
endian |
java.lang.String |
filename |
static int |
FRAME_LONG_NITF_HEADER_LENGTH |
static int |
FRAME_SHORT_NITF_HEADER_LENGTH |
static int |
HEADER_SECTION_LENGTH |
short |
headerSectionLength |
int |
locationSectionLocation |
byte |
neww |
java.lang.String |
release |
static int |
RPF_DATE_LOCATION |
java.lang.String |
standardDate |
java.lang.String |
standardNumber |
static int |
TOC_NITF_HEADER_LENGTH |
Constructor and Description |
---|
RpfHeader() |
Modifier and Type | Method and Description |
---|---|
int |
handleNITFHeader(BinaryFile binFile)
Checks to see if the file is in NITF or not, and then puts the file
pointer in the right place to start reading the header for the file.
|
static void |
main(java.lang.String[] args) |
boolean |
read(BinaryFile binFile)
Starts at the beginning of the file and handles the NITF header if it is
there.
|
boolean |
readHeader(BinaryFile binFile)
Assumes that the binFile is set to the header location.
|
java.lang.String |
toString() |
public static final int RPF_DATE_LOCATION
public static final int HEADER_SECTION_LENGTH
public static final int TOC_NITF_HEADER_LENGTH
public static final int FRAME_SHORT_NITF_HEADER_LENGTH
public static final int FRAME_LONG_NITF_HEADER_LENGTH
public boolean endian
public short headerSectionLength
public java.lang.String filename
public byte neww
public java.lang.String standardNumber
public java.lang.String standardDate
public char classification
public java.lang.String country
public java.lang.String release
public int locationSectionLocation
public boolean read(BinaryFile binFile)
public boolean readHeader(BinaryFile binFile)
public java.lang.String toString()
toString
in class java.lang.Object
public int handleNITFHeader(BinaryFile binFile)
public static void main(java.lang.String[] args)
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details