searchPath, and statically from a set of jars, like CachedJarsPackageManager.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public PyList |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addClassPath(String path)
Scan a Java class-path that may be a mixture of directory and JAR specifiers, and within each path entry index the packages. |
| public void | addDirectory(File
A directory. dir)Implements abstract org. Add directory dir (if exists) to |
| protected void | doDir(PyList path, PyList ret, PyJavaPackage jpkg, boolean instantiate, boolean exclpkgs)
Helper for |
| public PyList | doDir(PyJavaPackage
queried package jpkg, boolean if true then instatiate reported names in package dict instantiate, boolean exclude packages (just when instantiate is false) exclpkgs)Implements abstract org. Reports the specified package content names. |
| protected static boolean | |
| public boolean | packageExists(String
parent pkg name pkg, String candidate name name)Implements abstract org. Dynamically check if pkg.name exists as java pkg in the controlled hierarchy. |
| searchPath | back to summary |
|---|---|
| public PyList searchPath | |
| PathPackageManager | back to summary |
|---|---|
| public PathPackageManager() | |
| addClassPath | back to summary |
|---|---|
| public void addClassPath(String path) Scan a Java class-path that may be a mixture of directory and JAR specifiers, and within each
path entry index the packages. Calls | |
| addDirectory | back to summary |
|---|---|
| public void addDirectory(File dir) Implements abstract org. Add directory dir (if exists) to
| |
| doDir | back to summary |
|---|---|
| protected void doDir(PyList path, PyList ret, PyJavaPackage jpkg, boolean instantiate, boolean exclpkgs) Helper for | |
| doDir | back to summary |
|---|---|
| public PyList doDir(PyJavaPackage jpkg, boolean instantiate, boolean exclpkgs) Implements abstract org. Doc from org. Reports the specified package content names. Should be overridden. Used by
resulting list of names (PyList of PyString) | |
| packageExists | back to summary |
|---|---|
| protected static boolean packageExists(PyList path, String pkg, String name) Helper for | |
| packageExists | back to summary |
|---|---|
| public boolean packageExists(String pkg, String name) Implements abstract org. Doc from org. Dynamically check if pkg.name exists as java pkg in the controlled hierarchy. Should be overridden. true if pkg exists | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | accept(File
the directory in which the file was found. dir, String the name of the file. name)Implements java. Tests if a specified file should be included in a file list. |
| public boolean |
| PackageExistsFileFilter | back to summary |
|---|---|
| private PackageExistsFileFilter() | |
| accept | back to summary |
|---|---|
| public boolean accept(File dir, String name) Implements java. Doc from java. Tests if a specified file should be included in a file list.
| |
| packageExists | back to summary |
|---|---|
| public boolean packageExists() | |