|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fr.cnes.sirius.patrius.signalpropagation.iono.R12Loader
public final class R12Loader
Data loader for the R12 values.
Constructor Summary | |
---|---|
R12Loader(String supportedFileName)
Constructor. |
Method Summary | |
---|---|
double |
getR12(AbsoluteDate date)
Provides the R12 value for the Bent model. |
void |
loadData(InputStream input,
String name)
Load data from a stream. |
boolean |
stillAcceptsData()
Check if the loader still accepts new data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public R12Loader(String supportedFileName) throws OrekitException
supportedFileName
- file name the DataProvidersManager
will send to the instance.
OrekitException
- should not happenMethod Detail |
---|
public boolean stillAcceptsData()
DataLoader
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.
stillAcceptsData
in interface DataLoader
public void loadData(InputStream input, String name) throws IOException, ParseException, OrekitException
DataLoader
loadData
in interface DataLoader
input
- data input streamname
- name of the file (or zip entry)
IOException
- if data can't be read
ParseException
- if data can't be parsed
OrekitException
- if some data is missing
or if some loader specific error occurspublic double getR12(AbsoluteDate date) throws OrekitException
R12Provider
getR12
in interface R12Provider
date
- the date
OrekitException
- in case of data loading issues
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |