Class PythonEphemerisFileWriter

    • Constructor Detail

      • PythonEphemerisFileWriter

        public PythonEphemerisFileWriter()
    • Method Detail

      • pythonExtension

        public void pythonExtension​(long pythonObject)
        Part of JCC Python interface to object
      • pythonExtension

        public long pythonExtension()
        Part of JCC Python interface to object
      • pythonDecRef

        public void pythonDecRef()
        Part of JCC Python interface to object
      • write

        public void write​(Appendable writer,
                          EphemerisFile ephemerisFile)
                   throws IOException
        Write the passed in EphemerisFile using the passed in Appendable.
        Specified by:
        write in interface EphemerisFileWriter
        Parameters:
        writer - a configured Appendable to feed with text
        ephemerisFile - a populated ephemeris file to serialize into the buffer
        Throws:
        IOException - if any buffer writing operations fail or if the underlying format doesn't support a configuration in the EphemerisFile (for example having multiple satellites in one file, having the origin at an unspecified celestial body, etc.)
      • write

        public void write​(String outputFilePath,
                          EphemerisFile ephemerisFile)
                   throws IOException
        Write the passed in EphemerisFile to a file at the output path specified.
        Specified by:
        write in interface EphemerisFileWriter
        Parameters:
        outputFilePath - a file path that the corresponding file will be written to
        ephemerisFile - a populated ephemeris file to serialize into the buffer
        Throws:
        IOException - if any file writing operations fail or if the underlying format doesn't support a configuration in the EphemerisFile (for example having multiple satellites in one file, having the origin at an unspecified celestial body, etc.)