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
public abstract class AbstractSelfFeedingLoader extends Object
Abstract class that combines aDataProvidersManager
with a supported names regular expression forDataProvidersManager.feed(String, DataLoader)
.- Since:
- 10.1
- Author:
- Evan Ward
-
-
Constructor Summary
Constructors Constructor Description AbstractSelfFeedingLoader(String supportedNames, DataProvidersManager manager)
Create an abstract data loader that can feed itself.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
feed(DataLoader loader)
Feed the given loader withgetDataProvidersManager()
andgetSupportedNames()
.protected DataProvidersManager
getDataProvidersManager()
Get the data provider manager.protected String
getSupportedNames()
Get the supported names regular expression.protected void
setSupportedNames(String supportedNames)
Set the supported names regular expression.
-
-
-
Constructor Detail
-
AbstractSelfFeedingLoader
public AbstractSelfFeedingLoader(String supportedNames, DataProvidersManager manager)
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 Detail
-
feed
protected boolean feed(DataLoader loader)
Feed the given loader withgetDataProvidersManager()
andgetSupportedNames()
.- Parameters:
loader
- to feed.- Returns:
- the value returned by
DataProvidersManager.feed(String, DataLoader)
.
-
getSupportedNames
protected String getSupportedNames()
Get the supported names regular expression.- Returns:
- the supported names.
- See Also:
DataProvidersManager.feed(String, DataLoader)
-
setSupportedNames
protected void setSupportedNames(String supportedNames)
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
protected DataProvidersManager getDataProvidersManager()
Get the data provider manager.- Returns:
- the source of auxiliary data files.
-
-