Package org.orekit.data
Class PythonStreamOpener
- java.lang.Object
-
- org.orekit.data.PythonStreamOpener
-
- All Implemented Interfaces:
DataSource.StreamOpener
public class PythonStreamOpener extends Object implements DataSource.StreamOpener
-
-
Constructor Summary
Constructors Constructor Description PythonStreamOpener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalize()
Part of JCC Python interface to objectInputStream
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 InputStream 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.StreamOpener
- Returns:
- opened stream
- Throws:
IOException
- if stream cannot be opened
-
-