Class StreamingIIRVFileWriter

java.lang.Object
org.orekit.files.iirv.StreamingIIRVFileWriter

public class StreamingIIRVFileWriter extends Object
Writer class that outputs IIRVMessage data to an output stream.
Since:
13.0
Author:
Nick LaFarge
See Also:
  • 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

      public void writeIIRVMessage(IIRVMessage iirvMessage) throws IOException
      Write the passed in IIRVMessage using the passed in Appendable.
      Parameters:
      iirvMessage - a an IIRVMessage instance populated with IIRVVector 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