public class TdmWriter extends AbstractMessageWriter<TdmHeader,Segment<TdmMetadata,ObservationsBlock>,Tdm>
Modifier and Type | Field and Description |
---|---|
static double |
CCSDS_TDM_VERS
实现的版本号。
|
static int |
KVN_PADDING_WIDTH
用于对齐“=”符号的填充宽度。
|
DEFAULT_ORIGINATOR
Constructor and Description |
---|
TdmWriter(IERSConventions conventions, DataContext dataContext, RangeUnitsConverter converter)
完整的构造函数。
|
Modifier and Type | Method and Description |
---|---|
protected void |
writeSegmentContent(Generator generator, double formatVersion, Segment<TdmMetadata,ObservationsBlock> segment)
写入一个段内容(不包含XML包装)。
|
getContext, getDefaultVersion, getFormatVersionKey, getRoot, getTimeConverter, getVersion, setContext, writeFooter, writeHeader, writeSegment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
writeMessage
public static final double CCSDS_TDM_VERS
public static final int KVN_PADDING_WIDTH
public TdmWriter(IERSConventions conventions, DataContext dataContext, RangeUnitsConverter converter)
不建议直接调用此构造函数。用户应该使用 writerBuilder.buildTdmWriter()
。
protected void writeSegmentContent(Generator generator, double formatVersion, Segment<TdmMetadata,ObservationsBlock> segment) throws IOException
writeSegmentContent
在类 AbstractMessageWriter<TdmHeader,Segment<TdmMetadata,ObservationsBlock>,Tdm>
generator
- 用于生成输出的生成器
formatVersion
- 要使用的格式版本
segment
- 要写入的段
IOException
- 如果任何缓冲区写入操作失败
Copyright © 2002-2023 CS GROUP. All rights reserved.