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 String
location
-
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 String
getFileName()
Gets the original file name of this bundle.String
getLocation()
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:BundleFile
Gets the original file name of this bundle.- Specified by:
getFileName
in interfaceBundleFile
- Overrides:
getFileName
in classJarBundleFile
- Returns:
- the bundle file name
-
getLocation
public String getLocation()
Description copied from interface:BundleFile
Gets the original location of this bundle.This is an URI string pointing to the original locatioon of the bundle.
- Specified by:
getLocation
in interfaceBundleFile
- Overrides:
getLocation
in classJarBundleFile
- Returns:
- the location
-
-