public class StelaVariableDragCoefReader extends Object implements DataLoader, Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_FILE
Default file path.
|
| Constructor and Description |
|---|
StelaVariableDragCoefReader()
Basis constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Double,Double> |
getCoefficients()
Getter for the loaded coefficients.
|
void |
loadData(InputStream input,
String name)
Load data from a stream.
|
void |
loadDefaultData()
Load the default data from the default resource file.
|
boolean |
stillAcceptsData()
Check if the loader still accepts new data.
|
public static final String DEFAULT_FILE
public StelaVariableDragCoefReader()
public void loadDefaultData()
throws IOException
IOException - if error in searching or reading the filepublic void loadData(InputStream input, String name) throws IOException
loadData in interface DataLoaderinput - data input streamname - name of the file (or zip entry)IOException - if data can't be readpublic 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 DataLoaderCopyright © 2025 CNES. All rights reserved.