Package org.orekit.data
Class AbstractSelfFeedingLoader
java.lang.Object
org.orekit.data.AbstractSelfFeedingLoader
- Direct Known Subclasses:
AbstractEopLoader,AGILeapSecondFilesLoader,JPLEphemeridesLoader,KlobucharIonoCoefficientsLoader,OceanLoadingCoefficientsBLQFactory,SEMParser,TAIUTCDatFilesLoader,UTCTAIBulletinAFilesLoader,UTCTAIHistoryFilesLoader,ViennaModelCoefficientsLoader,YUMAParser
Abstract class that combines a
DataProvidersManager with a supported names
regular expression for DataProvidersManager.feed(String, DataLoader).- Since:
- 10.1
- Author:
- Evan Ward
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractSelfFeedingLoader(String supportedNames, DataProvidersManager manager) Create an abstract data loader that can feed itself. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanfeed(DataLoader loader) Feed the given loader withgetDataProvidersManager()andgetSupportedNames().protected DataProvidersManagerGet the data provider manager.protected StringGet the supported names regular expression.protected voidsetSupportedNames(String supportedNames) Set the supported names regular expression.
-
Constructor Details
-
AbstractSelfFeedingLoader
Create an abstract data loader that can feed itself.- Parameters:
supportedNames- regular expression. SeeDataProvidersManager.feed(String, DataLoader).manager- the source of auxiliary data files.
-
-
Method Details
-
feed
Feed the given loader withgetDataProvidersManager()andgetSupportedNames().- Parameters:
loader- to feed.- Returns:
- the value returned by
DataProvidersManager.feed(String, DataLoader).
-
getSupportedNames
Get the supported names regular expression.- Returns:
- the supported names.
- See Also:
-
setSupportedNames
Set the supported names regular expression. Using this method may create concurrency issues if multiple threads can callfeed(DataLoader)and it is not properly synchronized.- Parameters:
supportedNames- regular expression.
-
getDataProvidersManager
Get the data provider manager.- Returns:
- the source of auxiliary data files.
-