Package org.orekit.data
Class PythonReaderOpener
- java.lang.Object
-
- org.orekit.data.PythonReaderOpener
-
- All Implemented Interfaces:
DataSource.ReaderOpener
public class PythonReaderOpener extends Object implements DataSource.ReaderOpener
-
-
Constructor Summary
Constructors Constructor Description PythonReaderOpener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalize()
Part of JCC Python interface to objectReader
openOnce()
Open the stream once.void
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
-
openOnce
public Reader openOnce() throws IOException
Open the stream once.Beware that this interface is only intended for lazy opening a stream, i.e. to delay this opening (or not open the stream at all). It is not intended to open the stream several times. Some implementations may fail if an attempt to open a stream several times is made. This is particularly true for network-based streams.
- Specified by:
openOnce
in interfaceDataSource.ReaderOpener
- Returns:
- opened stream
- Throws:
IOException
- if stream cannot be opened
-
-