public class LocalPackageData extends Object implements org.nuxeo.connect.update.PackageData
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 void setRoot(File file)
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 © 2011 Nuxeo SA. All Rights Reserved.