Package org.orekit.data
Class PythonDataProvider
- java.lang.Object
-
- org.orekit.data.PythonDataProvider
-
- All Implemented Interfaces:
DataProvider
public class PythonDataProvider extends Object implements DataProvider
-
-
Field Summary
-
Fields inherited from interface org.orekit.data.DataProvider
ZIP_ARCHIVE_PATTERN
-
-
Constructor Summary
Constructors Constructor Description PythonDataProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
feed(Pattern supported, DataLoader visitor, DataProvidersManager manager)
Feed a data file loader by browsing the data collection.void
finalize()
Part of JCC Python interface to objectvoid
pythonDecRef()
Part of JCC Python interface to objectlong
pythonExtension()
Part of JCC Python interface to objectvoid
pythonExtension(long pythonObject)
Part of JCC Python interface to object
-
-
-
Method Detail
-
pythonExtension
public void pythonExtension(long pythonObject)
Part of JCC Python interface to object
-
pythonExtension
public long pythonExtension()
Part of JCC Python interface to object
-
finalize
public void finalize() throws Throwable
Part of JCC Python interface to object
-
pythonDecRef
public void pythonDecRef()
Part of JCC Python interface to object
-
feed
public boolean feed(Pattern supported, DataLoader visitor, DataProvidersManager manager)
Feed a data file loader by browsing the data collection.The method crawls all files referenced in the instance (for example all files in a directories tree) and for each file supported by the file loader it asks the file loader to load it.
If the method completes without exception, then the data loader is considered to have been fed successfully and the top level
data providers manager
will return immediately without attempting to use the next configured providers.If the method completes abruptly with an exception, then the top level
data providers manager
will try to use the next configured providers, in case another one can feed thedata loader
.The default implementation will be removed in 11.0. It calls
#feed(Pattern, DataLoader)
.- Specified by:
feed
in interfaceDataProvider
- Parameters:
supported
- pattern for file names supported by the visitorvisitor
- data file visitor to usemanager
- with the filters to apply to the resources.- Returns:
- true if some data has been loaded
-
-