Package org.orekit.files.iirv
Class StreamingIIRVFileWriter
- java.lang.Object
-
- org.orekit.files.iirv.StreamingIIRVFileWriter
-
public class StreamingIIRVFileWriter extends Object
Writer class that outputsIIRVMessagedata 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.IncludeMessageMetadatagetIncludeMessageMetadataSetting()Gets the setting for when message metadata terms appear in the created IIRV message.voidwriteIIRVMessage(IIRVMessage iirvMessage)Write the passed inIIRVMessageusing 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 inIIRVMessageusing the passed inAppendable.- Parameters:
iirvMessage- a anIIRVMessageinstance populated withIIRVVectorterms.- 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
-
-