public interface EphemerisFileWriter
An EphemerisFile
consists of one or more satellites each an ID unique
within the file. The ephemeris for each satellite consists of one or more
segments.
Ephemeris file formats may have additional settings that need to be configured to be compliant with their formats.
Modifier and Type | Method and Description |
---|---|
void |
write(Appendable writer,
EphemerisFile ephemerisFile)
Write the passed in
EphemerisFile using the passed in
Appendable . |
default void |
write(String outputFilePath,
EphemerisFile ephemerisFile)
Write the passed in
EphemerisFile to a file at the output path
specified. |
void write(Appendable writer, EphemerisFile ephemerisFile) throws IOException
EphemerisFile
using the passed in
Appendable
.writer
- a configured Appendable to feed with textephemerisFile
- a populated ephemeris file to serialize into the bufferIOException
- 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.)default void write(String outputFilePath, EphemerisFile ephemerisFile) throws IOException
EphemerisFile
to a file at the output path
specified.outputFilePath
- a file path that the corresponding file will be written toephemerisFile
- a populated ephemeris file to serialize into the bufferIOException
- 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.)Copyright © 2002-2019 CS Systèmes d'information. All rights reserved.