Class importer<T>

java.lang.Object
org.python.core.PyObject
org.python.core.util.importer<T>
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ClasspathPyImporter, zipimporter

public abstract class importer<T> extends PyObject
A base class for PEP-302 path hooks. Handles looking through source, compiled, package and module items in the right order, and creating and filling in modules.
See Also:
  • Constructor Details

    • importer

      public importer(PyType subType)
    • importer

      public importer()
  • Method Details

    • get_data

      public abstract String get_data(String path)
      Return the bytes for the data located at path.