Package org.orekit.files.iirv
Class StreamingIIRVFileWriter
- java.lang.Object
-
- org.orekit.files.iirv.StreamingIIRVFileWriter
-
public class StreamingIIRVFileWriter extends Object
Writer class that outputsIIRVMessage
data to an output stream.- Since:
- 13.0
- Author:
- Nick LaFarge
- See Also:
IIRVFileWriter
-
-
Constructor Summary
Constructors Constructor Description StreamingIIRVFileWriter(Appendable writer, IIRVMessage.IncludeMessageMetadata includeMessageMetadataSetting)
Create an IIRV writer that streams data to the given output stream.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IIRVMessage.IncludeMessageMetadata
getIncludeMessageMetadataSetting()
Gets the setting for when message metadata terms appear in the created IIRV message.void
writeIIRVMessage(IIRVMessage iirvMessage)
Write the passed inIIRVMessage
using the passed inAppendable
.
-
-
-
Constructor Detail
-
StreamingIIRVFileWriter
public StreamingIIRVFileWriter(Appendable writer, IIRVMessage.IncludeMessageMetadata includeMessageMetadataSetting)
Create an IIRV writer that streams data to the given output stream.- Parameters:
writer
- the output stream for the IIRV file.includeMessageMetadataSetting
- Setting for when message metadata terms appear in the created IIRV message
-
-
Method Detail
-
writeIIRVMessage
public void writeIIRVMessage(IIRVMessage iirvMessage) throws IOException
Write the passed inIIRVMessage
using the passed inAppendable
.- Parameters:
iirvMessage
- a anIIRVMessage
instance populated withIIRVVector
terms.- Throws:
IOException
- if any buffer writing operations fail
-
getIncludeMessageMetadataSetting
public IIRVMessage.IncludeMessageMetadata getIncludeMessageMetadataSetting()
Gets the setting for when message metadata terms appear in the created IIRV message.- Returns:
- setting for when message metadata terms appear in the created IIRV message
-
-