class Workspace.CachedFileRepo extends FileRepo
RepositoryPlugin.DownloadListener, RepositoryPlugin.PutOptions, RepositoryPlugin.PutResult
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
inited |
(package private) java.util.concurrent.locks.Lock |
lock |
CMD_ABORT_PUT, CMD_AFTER_ACTION, CMD_AFTER_PUT, CMD_BEFORE_GET, CMD_BEFORE_PUT, CMD_CLOSE, CMD_INIT, CMD_OPEN, CMD_PATH, CMD_REFRESH, CMD_SHELL, INDEX, LATEST_OPTION, LATEST_VERSION, LOCATION, MAX_MAJOR, NAME, READONLY, root, TRACE
Constructor and Description |
---|
CachedFileRepo() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
init()
Initialize the repository Subclasses should first call this method and
then if it returns true, do their own initialization
|
private void |
unzip(java.io.InputStream in,
java.io.File dir) |
abortPut, actions, afterAction, afterPut, beforeGet, beforePut, canWrite, close, delete, fireBundleAdded, get, getDescriptor, getLocal, getLocation, getName, getResource, getResources, getRoot, list, open, put, putArtifact, putArtifact, refresh, setDir, setIndex, setLocation, setProperties, setRegistry, setReporter, status, title, tooltip, toString, versions
protected boolean init() throws java.lang.Exception
FileRepo
private void unzip(java.io.InputStream in, java.io.File dir) throws java.lang.Exception
java.lang.Exception