Class PythonReaderOpener

    • Constructor Detail

      • PythonReaderOpener

        public PythonReaderOpener()
    • 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
      • 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 interface DataSource.ReaderOpener
        Returns:
        opened stream
        Throws:
        IOException - if stream cannot be opened