Package org.orekit.files.general
Class PythonEphemerisFileWriter
- java.lang.Object
-
- org.orekit.files.general.PythonEphemerisFileWriter
-
- All Implemented Interfaces:
EphemerisFileWriter
public class PythonEphemerisFileWriter extends Object implements EphemerisFileWriter
-
-
Constructor Summary
Constructors Constructor Description PythonEphemerisFileWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalize()
Part of JCC Python interface to objectvoid
pythonDecRef()
Part of JCC Python interface to objectlong
pythonExtension()
Part of JCC Python interface to objectvoid
pythonExtension(long pythonObject)
Part of JCC Python interface to objectvoid
write(Appendable writer, EphemerisFile ephemerisFile)
Write the passed inEphemerisFile
using the passed inAppendable
.void
write(String outputFilePath, EphemerisFile ephemerisFile)
Write the passed inEphemerisFile
to a file at the output path specified.
-
-
-
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
-
finalize
public void finalize() throws Throwable
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 inEphemerisFile
using the passed inAppendable
.- Specified by:
write
in interfaceEphemerisFileWriter
- Parameters:
writer
- a configured Appendable to feed with textephemerisFile
- 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 inEphemerisFile
to a file at the output path specified.- Specified by:
write
in interfaceEphemerisFileWriter
- Parameters:
outputFilePath
- a file path that the corresponding file will be written toephemerisFile
- 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.)
-
-