Package org.nuxeo.osgi
Class NestedJarBundleFile
- java.lang.Object
-
- org.nuxeo.osgi.JarBundleFile
-
- org.nuxeo.osgi.NestedJarBundleFile
-
- All Implemented Interfaces:
BundleFile
public class NestedJarBundleFile extends JarBundleFile
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringlocation-
Fields inherited from class org.nuxeo.osgi.JarBundleFile
jarFile, urlBase
-
-
Constructor Summary
Constructors Constructor Description NestedJarBundleFile(String location, File file)NestedJarBundleFile(String location, JarFile jarFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFileName()Gets the original file name of this bundle.StringgetLocation()Gets the original location of this bundle.-
Methods inherited from class org.nuxeo.osgi.JarBundleFile
close, extractNestedJar, extractNestedJar, findEntries, findNestedBundles, getEntry, getEntryPaths, getEntryUrl, getFile, getJarURL, getManifest, getNestedBundles, getSymbolicName, getURL, isDirectory, isJar, toString
-
-
-
-
Field Detail
-
location
protected final String location
-
-
Constructor Detail
-
NestedJarBundleFile
public NestedJarBundleFile(String location, File file) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getFileName
public String getFileName()
Description copied from interface:BundleFileGets the original file name of this bundle.- Specified by:
getFileNamein interfaceBundleFile- Overrides:
getFileNamein classJarBundleFile- Returns:
- the bundle file name
-
getLocation
public String getLocation()
Description copied from interface:BundleFileGets the original location of this bundle.This is an URI string pointing to the original locatioon of the bundle.
- Specified by:
getLocationin interfaceBundleFile- Overrides:
getLocationin classJarBundleFile- Returns:
- the location
-
-