Class LocalPackageData
- java.lang.Object
-
- org.nuxeo.connect.update.standalone.LocalPackageData
-
- All Implemented Interfaces:
org.nuxeo.connect.update.PackageData
public class LocalPackageData extends Object implements org.nuxeo.connect.update.PackageData
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected SharedResourceLoader
loader
protected File
root
-
Constructor Summary
Constructors Constructor Description LocalPackageData(ClassLoader parent, File file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
getEntry(String path)
InputStream
getEntryAsStream(String path)
ClassLoader
getLoader()
File
getManifest()
File
getRoot()
Class<?>
loadClass(String name)
void
setRoot(File file)
-
-
-
Field Detail
-
root
protected File root
-
loader
protected SharedResourceLoader loader
-
-
Constructor Detail
-
LocalPackageData
public LocalPackageData(ClassLoader parent, File file) throws IOException
- Throws:
IOException
-
-
Method Detail
-
setRoot
public void setRoot(File file)
-
getLoader
public ClassLoader getLoader()
- Specified by:
getLoader
in interfaceorg.nuxeo.connect.update.PackageData
-
getEntry
public File getEntry(String path)
- Specified by:
getEntry
in interfaceorg.nuxeo.connect.update.PackageData
-
getEntryAsStream
public InputStream getEntryAsStream(String path) throws IOException
- Specified by:
getEntryAsStream
in interfaceorg.nuxeo.connect.update.PackageData
- Throws:
IOException
-
getManifest
public File getManifest()
- Specified by:
getManifest
in interfaceorg.nuxeo.connect.update.PackageData
-
getRoot
public File getRoot()
- Specified by:
getRoot
in interfaceorg.nuxeo.connect.update.PackageData
-
-