public class LocalPackageData extends Object implements org.nuxeo.connect.update.PackageData
Modifier and Type | Field and Description |
---|---|
protected SharedResourceLoader |
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) |
protected SharedResourceLoader loader
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 © 2019 Nuxeo. All rights reserved.