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
IOException
public ClassLoader getLoader()
getLoader
in interface org.nuxeo.connect.update.PackageData
public File getEntry(String path)
getEntry
in interface org.nuxeo.connect.update.PackageData
public InputStream getEntryAsStream(String path) throws IOException
getEntryAsStream
in interface org.nuxeo.connect.update.PackageData
IOException
public File getManifest()
getManifest
in interface org.nuxeo.connect.update.PackageData
public File getRoot()
getRoot
in interface org.nuxeo.connect.update.PackageData
Copyright © 2016 Nuxeo SA. All rights reserved.