Package org.orekit.files.iirv
Class StreamingIIRVFileWriter
java.lang.Object
org.orekit.files.iirv.StreamingIIRVFileWriter
Writer class that outputs
IIRVMessage data to an output stream.- Since:
- 13.0
- Author:
- Nick LaFarge
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStreamingIIRVFileWriter(Appendable writer, IIRVMessage.IncludeMessageMetadata includeMessageMetadataSetting) Create an IIRV writer that streams data to the given output stream. -
Method Summary
Modifier and TypeMethodDescriptionGets the setting for when message metadata terms appear in the created IIRV message.voidwriteIIRVMessage(IIRVMessage iirvMessage) Write the passed inIIRVMessageusing the passed inAppendable.
-
Constructor Details
-
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 Details
-
writeIIRVMessage
Write the passed inIIRVMessageusing the passed inAppendable.- Parameters:
iirvMessage- a anIIRVMessageinstance populated withIIRVVectorterms.- Throws:
IOException- if any buffer writing operations fail
-
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
-