|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.query.util.pkg.RepoManager
public final class RepoManager
Repository manager.
Constructor Summary | |
---|---|
RepoManager(Context ctx)
Constructor. |
|
RepoManager(Context ctx,
InputInfo ii)
Constructor. |
Method Summary | |
---|---|
void |
delete(java.lang.String pkg)
Removes a package from the package repository. |
static IOFile |
file(java.lang.String name,
Repo repo)
Looks for a file with the specified name. |
boolean |
install(java.lang.String path)
Installs a package. |
StringList |
list()
Returns a list of all packages. |
Table |
table()
Returns all installed packages in a table. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RepoManager(Context ctx)
ctx
- database contextpublic RepoManager(Context ctx, InputInfo ii)
ctx
- database contextii
- input infoMethod Detail |
---|
public boolean install(java.lang.String path) throws QueryException
path
- package path
true
if package was replaced
QueryException
- query exceptionpublic Table table()
public StringList list()
public void delete(java.lang.String pkg) throws QueryException
pkg
- package
QueryException
- query exceptionpublic static IOFile file(java.lang.String name, Repo repo)
name
- namerepo
- repository
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |