H
- type of the headerS
- type of the segmentspublic abstract class NdmConstituent<H extends Header,S extends Segment<?,?>> extends Object
Modifier | Constructor and Description |
---|---|
protected |
NdmConstituent(H header,
List<S> segments,
IERSConventions conventions,
DataContext dataContext)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
IERSConventions |
getConventions()
Get IERS conventions.
|
DataContext |
getDataContext()
Get the data context.
|
H |
getHeader()
Get the header.
|
List<S> |
getSegments()
Get the segments.
|
void |
validate()
Validate the file message for required and forbidden entries.
|
protected NdmConstituent(H header, List<S> segments, IERSConventions conventions, DataContext dataContext)
header
- file headersegments
- file segmentsconventions
- IERS conventionsdataContext
- used for creating frames, time scales, etc.public H getHeader()
public IERSConventions getConventions()
public DataContext getDataContext()
public void validate()
This method throws an exception if file does not meet format requirements. The requirements may depend on format version, which is found in header.
Copyright © 2002-2021 CS GROUP. All rights reserved.