public class SP3Parser extends Object implements OrbitFileParser
Note: this parser is thread-safe, so calling parse(java.lang.String)
from different threads is allowed.
Constructor and Description |
---|
SP3Parser() |
Modifier and Type | Method and Description |
---|---|
SP3File |
parse(InputStream stream)
Reads an orbit file from the given stream and returns a parsed
OrbitFile . |
SP3File |
parse(String fileName)
Reads the orbit file and returns a parsed
OrbitFile . |
public SP3File parse(String fileName) throws PatriusException
OrbitFile
.parse
in interface OrbitFileParser
fileName
- the file to read and parseOrbitFile
PatriusException
- if the orbit file could not be parsed
successfully from the given filepublic SP3File parse(InputStream stream) throws PatriusException
OrbitFile
.parse
in interface OrbitFileParser
stream
- the stream to read fromOrbitFile
PatriusException
- if the orbit file could not be parsed
successfully from the given streamCopyright © 2019 CNES. All rights reserved.