public class LocalPackageData extends Object implements org.nuxeo.connect.update.PackageData
| Modifier and Type | Field and Description |
|---|---|
protected groovy.lang.GroovyClassLoader |
loader |
protected File |
root |
| Constructor and Description |
|---|
LocalPackageData(ClassLoader parent,
File file) |
| Modifier and Type | Method and Description |
|---|---|
File |
getEntry(String path) |
InputStream |
getEntryAsStream(String path) |
ClassLoader |
getLoader() |
File |
getManifest() |
File |
getRoot() |
Class<?> |
loadClass(String name) |
void |
setRoot(File file) |
public LocalPackageData(ClassLoader parent, File file) throws IOException
IOExceptionpublic ClassLoader getLoader()
getLoader in interface org.nuxeo.connect.update.PackageDatapublic File getEntry(String path)
getEntry in interface org.nuxeo.connect.update.PackageDatapublic InputStream getEntryAsStream(String path) throws IOException
getEntryAsStream in interface org.nuxeo.connect.update.PackageDataIOExceptionpublic File getManifest()
getManifest in interface org.nuxeo.connect.update.PackageDatapublic File getRoot()
getRoot in interface org.nuxeo.connect.update.PackageDataCopyright © 2016 Nuxeo SA. All rights reserved.