org.python.core
public class ZipFileImporter extends PyObject
| Nested Class Summary | |
|---|---|
| class | ZipFileImporter.ZipFileLoader
Loader for zipfile python sources. |
| Constructor Summary | |
|---|---|
| ZipFileImporter(PyObject path)
If this path is not an archive (.zip or .jar) then raise an ImportError,
otherwise this instance will handle this path.
| |
| Method Summary | |
|---|---|
| PyObject | find_module(String name)
Find the module for the fully qualified name.
|
| PyObject | find_module(String name, PyObject path)
Find the module for the fully qualified name.
|
| String | toString()
Returns a string representation of the object.
|
Parameters: path the path to check for modules
Parameters: name the fully qualified name of the module
Returns: a loader instance if this importer can load the module, None otherwise
Parameters: name the fully qualified name of the module path if installed on the meta-path None or a module path
Returns: a loader instance if this importer can load the module, None otherwise
Returns: a string representation of the object.