1 package gov
.nasa
.worldwind
.formats
.rpf
;
3 import gov
.nasa
.worldwind
.formats
.nitfs
.*;
4 import gov
.nasa
.worldwind
.*;
6 Copyright (C) 2001, 2007 United States Government
7 as represented by the Administrator of the
8 National Aeronautics and Space Administration.
13 * @author Lado Garakanidze
14 * @version $Id: RpfUserDefinedHeaderSegment Apr 17, 2007 6:55:38 PM lado
16 public class RpfUserDefinedHeaderSegment
extends NitfsUserDefinedHeaderSegment
18 private RpfFileComponents components
;
20 public RpfUserDefinedHeaderSegment(java
.nio
.ByteBuffer buffer
)
24 if(StringUtil
.Equals(RpfHeaderSection
.DATA_TAG
, this.dataTag
))
26 this.components
= new RpfFileComponents(buffer
);
29 throw new NitfsRuntimeException("NitfsReader.RpfHeaderNotFoundInUserDefinedSegment", this.dataTag
);
30 this.restoreBufferPosition();
33 public RpfFileComponents
getRpfFileComponents()
35 return this.components
;