Package org.orekit.gnss
Class RinexLoader.Parser
- java.lang.Object
-
- org.orekit.gnss.RinexLoader.Parser
-
- All Implemented Interfaces:
DataLoader
- Enclosing class:
- RinexLoader
public class RinexLoader.Parser extends Object implements DataLoader
Parser for rinex files.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
RinexLoader.Parser.AppliedDCBS
Corrections of Differential Code Biases (DCBs) applied.class
RinexLoader.Parser.AppliedPCVS
Corrections of antenna phase center variations (PCVs) applied.class
RinexLoader.Parser.PhaseShiftCorrection
Phase Shift corrections.class
RinexLoader.Parser.ScaleFactorCorrection
Scale Factor to be applied.
-
Constructor Summary
Constructors Constructor Description Parser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
loadData(InputStream input, String name)
Load data from a stream.boolean
stillAcceptsData()
Check if the loader still accepts new data.
-
-
-
Method Detail
-
stillAcceptsData
public boolean stillAcceptsData()
Check if the loader still accepts new data.This method is used to speed up data loading by interrupting crawling the data sets as soon as a loader has found the data it was waiting for. For loaders that can merge data from any number of sources (for example JPL ephemerides or Earth Orientation Parameters that are split among several files), this method should always return true to make sure no data is left over.
- Specified by:
stillAcceptsData
in interfaceDataLoader
- Returns:
- true while the loader still accepts new data
-
loadData
public void loadData(InputStream input, String name) throws IOException, OrekitException
Load data from a stream.- Specified by:
loadData
in interfaceDataLoader
- Parameters:
input
- data input streamname
- name of the file (or zip entry)- Throws:
IOException
- if data can't be readOrekitException
-
-