1 package gov
.nasa
.worldwind
.formats
.rpf
;
3 import gov
.nasa
.worldwind
.formats
.nitfs
.*;
7 Copyright (C) 2001, 2007 United States Government
8 as represented by the Administrator of the
9 National Aeronautics and Space Administration.
15 * @version $Id: RpfFile Apr 8, 2007 8:53:48 AM
19 private NitfsMessage nitfsMsg
;
20 private java
.io
.File rpfFile
;
27 public NitfsFileHeader
getNitfsFileHeader()
29 return (null != nitfsMsg
) ? nitfsMsg
.getNitfsFileHeader() : null;
32 public NitfsSegment
getNitfsSegment(NitfsSegmentType segmentType
)
34 return (null != nitfsMsg
) ? nitfsMsg
.getSegment(segmentType
) : null;
37 protected RpfFile(java
.io
.File rpfFile
) throws IOException
39 this.rpfFile
= rpfFile
;
40 this.nitfsMsg
= NitfsMessage
.load(rpfFile
);