org.orekit.files.general
Interface OrbitFileParser

All Known Implementing Classes:
SP3Parser

public interface OrbitFileParser

Interface for orbit file parsers.

Author:
Thomas Neidhart

Method Summary
 OrbitFile parse(InputStream stream)
          Reads an orbit file from the given stream and returns a parsed OrbitFile.
 OrbitFile parse(String fileName)
          Reads the orbit file and returns a parsed OrbitFile.
 

Method Detail

parse

OrbitFile parse(InputStream stream)
                throws OrekitException
Reads an orbit file from the given stream and returns a parsed OrbitFile.

Parameters:
stream - the stream to read from
Returns:
a parsed instance of OrbitFile
Throws:
OrekitException - if the orbit file could not be parsed successfully from the given stream

parse

OrbitFile parse(String fileName)
                throws OrekitException
Reads the orbit file and returns a parsed OrbitFile.

Parameters:
fileName - the file to read and parse
Returns:
a parsed instance of OrbitFile
Throws:
OrekitException - if the orbit file could not be parsed successfully from the given file


Copyright © 2016 CNES. All Rights Reserved.