Nuxeo Enterprise Platform 5.4

org.nuxeo.osgi
Class NestedJarBundleFile

java.lang.Object
  extended by org.nuxeo.osgi.JarBundleFile
      extended by org.nuxeo.osgi.NestedJarBundleFile
All Implemented Interfaces:
BundleFile

public class NestedJarBundleFile
extends JarBundleFile

Author:
Bogdan Stefanescu

Constructor Summary
NestedJarBundleFile(java.lang.String location, java.io.File file)
           
NestedJarBundleFile(java.lang.String location, java.util.jar.JarFile jarFile)
           
 
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
 

Constructor Detail

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)
Method Detail

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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.