public final class RepoManager
extends java.lang.Object
| Constructor and Description |
|---|
RepoManager(Context ctx)
Constructor.
|
RepoManager(Context ctx,
InputInfo ii)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete(byte[] pkg)
Removes a package from the package repository.
|
static IOFile |
file(byte[] name,
Repo repo)
Looks for a file with the specified name.
|
boolean |
install(byte[] path)
Installs a package.
|
StringList |
list()
Returns a list of all packages.
|
Table |
table()
Returns all installed packages in a table.
|
public RepoManager(Context ctx)
ctx - database contextpublic boolean install(byte[] path)
throws QueryException
path - package pathtrue if package was replacedQueryException - query exceptionpublic Table table()
public StringList list()
public void delete(byte[] pkg)
throws QueryException
pkg - packageQueryException - query exception