| Modifier and Type | Field and Description |
|---|---|
| private static Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addJar(String
A directory name. jarfile, boolean cache)Implements abstract org. Append a jar file to the list of locations searched for java packages and java classes. |
| public void | addJarDir(String
A directory name. jdir, boolean cache)Implements abstract org. Append a directory to the list of directories searched for java packages and java classes. |
| private void | |
| private void | addJarPath(String path)
Scan a path that contains directory specifiers, and within each directory, find every JAR or ZIP archive and add it to the list of archives searched for packages. |
| private void | addModuleDir(final Path
directory containing some modules moduleDir)Index the packages in every module in a directory. |
| protected void | comment(String
message template (see java.text.MessageFormat) msg, Object... parameters to insert params)Overrides org. Comment log method - hook. |
| protected void | debug(String
message template (see java.text.MessageFormat) msg, Object... parameters to insert params)Overrides org. Debug log method - hook. |
| 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)Overrides org. Reports the specified package content names. |
| private void | findAllPackages(Properties
in practice, the Jython registry registry)Walk the packages found in paths specified indirectly through the given |
| public Class | |
| public Class | findClass(String pkg, String name, String reason)
Implements abstract org.
|
| protected void | message(String
message template (see java.text.MessageFormat) msg, Object... parameters to insert params)Overrides org. Message log method - hook. |
| public void | notifyPackageImport(String pkg, String name)
Overrides org.
|
| public boolean | packageExists(String
parent pkg name pkg, String candidate name name)Overrides org. Dynamically check if pkg.name exists as java pkg in the controlled hierarchy. |
| protected void | warning(String
message template (see java.text.MessageFormat) msg, Object... parameters to insert params)Overrides org. Warning log method - hook. |
| pkglog | back to summary |
|---|---|
| private static Logger pkglog | |
| SysPackageManager | back to summary |
|---|---|
| public SysPackageManager(File cachedir, Properties registry) | |
| addJar | back to summary |
|---|---|
| public void addJar(String jarfile, boolean cache) Implements abstract org. Doc from org. Append a jar file to the list of locations searched for java packages and java classes. | |
| addJarDir | back to summary |
|---|---|
| public void addJarDir(String jdir, boolean cache) Implements abstract org. Doc from org. Append a directory to the list of directories searched for java packages and java classes. | |
| addJarDir | back to summary |
|---|---|
| private void addJarDir(String jdir, boolean cache, boolean saveCache) Index the contents of every JAR or ZIP in a directory.
| |
| addJarPath | back to summary |
|---|---|
| private void addJarPath(String path) Scan a path that contains directory specifiers, and within each directory, find every JAR or ZIP archive and add it to the list of archives searched for packages. (This means, index it.) Non-directory entries are ignored. | |
| addModuleDir | back to summary |
|---|---|
| private void addModuleDir(final Path moduleDir) Index the packages in every module in a directory. Entries in the directory that are not modules
(do not contain a
| |
| comment | back to summary |
|---|---|
| protected void comment(String msg, Object... params) Overrides org. Doc from org. Comment log method - hook. This default implementation does nothing.
| |
| debug | back to summary |
|---|---|
| protected void debug(String msg, Object... params) Overrides org. Doc from org. Debug log method - hook. This default implementation does nothing.
| |
| doDir | back to summary |
|---|---|
| public PyList doDir(PyJavaPackage jpkg, boolean instantiate, boolean exclpkgs) Overrides org. Doc from org. Reports the specified package content names. Should be overridden. Used by
resulting list of names (PyList of PyString) | |
| findAllPackages | back to summary |
|---|---|
| private void findAllPackages(Properties registry) Walk the packages found in paths specified indirectly through the given
| |
| findClass | back to summary |
|---|---|
| public Class Overrides org.
| |
| findClass | back to summary |
|---|---|
| public Class Implements abstract org.
| |
| message | back to summary |
|---|---|
| protected void message(String msg, Object... params) Overrides org. Doc from org. Message log method - hook. This default implementation does nothing.
| |
| notifyPackageImport | back to summary |
|---|---|
| public void notifyPackageImport(String pkg, String name) Overrides org.
| |
| packageExists | back to summary |
|---|---|
| public boolean packageExists(String pkg, String name) Overrides org. Doc from org. Dynamically check if pkg.name exists as java pkg in the controlled hierarchy. Should be overridden. true if pkg exists | |
| warning | back to summary |
|---|---|
| protected void warning(String msg, Object... params) Overrides org. Doc from org. Warning log method - hook. This default implementation does nothing.
| |