|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuxeo.runtime.jboss.osgi.JBossBundleFile
public class JBossBundleFile
| Constructor Summary | |
|---|---|
JBossBundleFile(org.jboss.deployment.DeploymentInfo di)
|
|
| Method Summary | |
|---|---|
Enumeration<URL> |
findEntries(String path,
String pattern,
boolean recurse)
Finds entries in that bundle. |
Collection<BundleFile> |
findNestedBundles(File tmpDir)
Get a list with nested bundles or null if none. |
ClassLoader |
getClassLoader()
|
protected org.jboss.deployment.DeploymentInfo |
getDeploymentInfo()
|
URL |
getEntry(String name)
Gets the entry at the given path in this bundle. |
Enumeration<String> |
getEntryPaths(String path)
Returns an Enumeration of all the paths ( String objects)
to entries within the bundle whose longest sub-path matches the supplied
path argument. |
File |
getFile()
Gets the current location of the bundle as a file. |
String |
getFileName()
Gets the original file name of this bundle. |
String |
getLocation()
Gets the original location of this bundle. |
Manifest |
getManifest()
Gets the bundle manifest. |
Collection<BundleFile> |
getNestedBundles(File tmpDir)
Gets a list with nested bundles or null if none. |
String |
getSymbolicName()
Gets this bundle symbolic name. |
URL |
getURL()
Gets the current location of the bundle as an URL (it may be different from the original location). |
boolean |
isDirectory()
Checks if this bundle is a directory (an exploded jar). |
boolean |
isJar()
Checks if this bundle is a JAR. |
void |
setClassLoader(ClassLoader classLoader)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JBossBundleFile(org.jboss.deployment.DeploymentInfo di)
| Method Detail |
|---|
protected org.jboss.deployment.DeploymentInfo getDeploymentInfo()
public Enumeration<URL> findEntries(String path,
String pattern,
boolean recurse)
BundleFile
findEntries in interface BundleFileBundle.findEntries(String, String, boolean)public ClassLoader getClassLoader()
public void setClassLoader(ClassLoader classLoader)
public URL getEntry(String name)
BundleFile
getEntry in interface BundleFileBundle.getEntry(String)public Enumeration<String> getEntryPaths(String path)
BundleFileString objects)
to entries within the bundle whose longest sub-path matches the supplied
path argument.
getEntryPaths in interface BundleFileBundle.getEntryPaths(String)public String getLocation()
BundleFileThis is an URI string pointing to the original locatioon of the bundle.
getLocation in interface BundleFilepublic Manifest getManifest()
BundleFile
getManifest in interface BundleFilepublic URL getURL()
BundleFile
getURL in interface BundleFilepublic File getFile()
BundleFile
getFile in interface BundleFilepublic String getFileName()
BundleFile
getFileName in interface BundleFilepublic String getSymbolicName()
BundleFile
getSymbolicName in interface BundleFile
public Collection<BundleFile> getNestedBundles(File tmpDir)
throws IOException
BundleFile
getNestedBundles in interface BundleFiletmpDir - optional temporary dir if the nested bundle should be
extracted from an archive
IOException
public Collection<BundleFile> findNestedBundles(File tmpDir)
throws IOException
BundleFile
findNestedBundles in interface BundleFiletmpDir - optional temporary dir if the nested bundle should be
extracted from an archive
IOExceptionpublic boolean isDirectory()
BundleFile
isDirectory in interface BundleFilepublic boolean isJar()
BundleFile
isJar in interface BundleFile
|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||