|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.python.core.PackageManager org.python.core.CachedJarsPackageManager
Abstract package manager that gathers info about statically known classes from a set of jars. This info can be eventually cached. Off-the-shelf this class offers a local file-system based cache impl.
Nested Class Summary | |
static class |
CachedJarsPackageManager.JarXEntry
To pass a cachefile id by ref. |
Field Summary |
Fields inherited from class org.python.core.PackageManager |
topLevelPackage |
Constructor Summary | |
CachedJarsPackageManager()
|
Method Summary | |
void |
addJarToPackages(java.io.File jarfile)
Gathers classes info from jar specified by File jarfile. |
void |
addJarToPackages(java.io.File jarfile,
boolean cache)
Gathers classes info from jar specified by File jarfile. |
void |
addJarToPackages(java.net.URL jarurl)
Gathers classes info from jar specified by jarurl URL. |
void |
addJarToPackages(java.net.URL jarurl,
boolean cache)
Gathers classes info from jar specified by jarurl URL. |
void |
saveCache()
Write back cache index. |
Methods inherited from class org.python.core.PackageManager |
addDirectory, addJar, addJarDir, doDir, findClass, findClass, lookupName, makeJavaPackage, notifyPackageImport, packageExists |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CachedJarsPackageManager()
Method Detail |
public void addJarToPackages(java.net.URL jarurl)
public void addJarToPackages(java.net.URL jarurl, boolean cache)
public void addJarToPackages(java.io.File jarfile)
public void addJarToPackages(java.io.File jarfile, boolean cache)
public void saveCache()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |