public class AcmWriter extends AbstractMessageWriter<AdmHeader,Segment<AcmMetadata,AcmData>,Acm>
Modifier and Type | Field and Description |
---|---|
static double |
CCSDS_ACM_VERS
实现的版本号。
|
static int |
KVN_PADDING_WIDTH
用于对齐“=”符号的填充宽度。
|
DEFAULT_ORIGINATOR
Constructor and Description |
---|
AcmWriter(IERSConventions conventions, DataContext dataContext)
完整的构造函数。
|
Modifier and Type | Method and Description |
---|---|
protected void |
writeSegmentContent(Generator generator, double formatVersion, Segment<AcmMetadata,AcmData> 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_ACM_VERS
public static final int KVN_PADDING_WIDTH
public AcmWriter(IERSConventions conventions, DataContext dataContext)
不建议直接调用此构造函数。用户应该使用 writerBuilder.buildAcmWriter()
。
conventions
- IERS公约
dataContext
- 用于检索框架、时间标度等。
protected void writeSegmentContent(Generator generator, double formatVersion, Segment<AcmMetadata,AcmData> segment) throws IOException
writeSegmentContent
在类 AbstractMessageWriter<AdmHeader,Segment<AcmMetadata,AcmData>,Acm>
generator
- 用于生成输出的生成器
formatVersion
- 要使用的格式版本
segment
- 要写入的段
IOException
- 如果任何缓冲写入操作失败
Copyright © 2002-2023 CS GROUP. All rights reserved.