public class NoEOP1980HistoryLoader extends Object implements EOP1980HistoryLoader
final EOP1980HistoryLoader loader = new NoEOP1980HistoryLoader();
EOPHistoryFactory.addEOP1980HistoryLoader(loader);
Constructor and Description |
---|
NoEOP1980HistoryLoader() |
Modifier and Type | Method and Description |
---|---|
void |
fillHistory(EOP1980History history)
History with zero orientation.
|
void |
loadData(InputStream input,
String name)
Load data from a stream.
|
boolean |
stillAcceptsData()
Check if the loader still accepts new data.
|
public boolean stillAcceptsData()
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, PatriusException
loadData
in interface DataLoader
input
- data input streamname
- name of the file (or zip entry)IOException
- if data can't be readParseException
- if data can't be parsedPatriusException
- if some data is missing
or if some loader specific error occurspublic void fillHistory(EOP1980History history) throws PatriusException
fillHistory
in interface EOP1980HistoryLoader
history
- history to fill upPatriusException
- if the history cannot be loadedCopyright © 2019 CNES. All rights reserved.