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
Method Summary |
java.lang.String |
getFileName()
Gets the original file name of this bundle. |
java.lang.String |
getLocation()
Gets the original location of this bundle. |
Methods inherited from class org.nuxeo.osgi.JarBundleFile |
extractNestedJar, extractNestedJar, findEntries, findNestedBundles, getEntry, getEntryPaths, getFile, getJarURL, getManifest, getNestedBundles, getSymbolicName, getURL, isDirectory, isJar, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NestedJarBundleFile
public NestedJarBundleFile(java.lang.String location,
java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
NestedJarBundleFile
public NestedJarBundleFile(java.lang.String location,
java.util.jar.JarFile jarFile)
getFileName
public java.lang.String getFileName()
- Description copied from interface:
BundleFile
- Gets the original file name of this bundle.
- Specified by:
getFileName
in interface BundleFile
- Overrides:
getFileName
in class JarBundleFile
- Returns:
- the bundle file name
getLocation
public java.lang.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 interface BundleFile
- Overrides:
getLocation
in class JarBundleFile
- Returns:
- the location
Copyright © 2010 Nuxeo SAS. All Rights Reserved.