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