|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.dawb.common.util.eclipse.BundleUtils
public class BundleUtils
BundleUtils Assumes that this class can be used before the Logger is loaded, therefore do not put Logging in here.
Constructor Summary | |
---|---|
BundleUtils()
|
Method Summary | |
---|---|
static java.io.File |
getBundleLocation(org.osgi.framework.Bundle bundle)
Get the java.io.File location of a bundle. |
static java.io.File |
getBundleLocation(java.lang.String bundleName)
|
static java.io.File |
getBundlePathNoLoading(java.lang.String bundleName)
Get the bundle path using eclipse.home.location not loading the bundle. |
static java.lang.String |
getEclipseHome()
Gets eclipse home in debug and in deployed application mode. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BundleUtils()
Method Detail |
---|
public static java.io.File getBundleLocation(java.lang.String bundleName) throws java.io.IOException
java.io.IOException
public static java.io.File getBundleLocation(org.osgi.framework.Bundle bundle) throws java.io.IOException
bundleName
-
java.lang.Exception
java.io.IOException
public static java.io.File getBundlePathNoLoading(java.lang.String bundleName)
bundleName
-
public static java.lang.String getEclipseHome()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |