Package org.nuxeo.osgi
Class BundleManifestReader
- java.lang.Object
-
- org.nuxeo.osgi.BundleManifestReader
-
public final class BundleManifestReader extends Object
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description static String
ALLOW_HOST_OVERRIDE
static String
COMPONENT_HEADER
protected static String[]
CUSTOM_HEADERS
static String
WEB_MODULE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Dictionary<String,String>
getDefaultHeaders(String symbolicName)
static Dictionary<String,String>
getHeaders(Manifest mf)
static Dictionary<String,String>
getHeadersFromFile(File file)
static Dictionary<String,String>
getHeadersFromJar(URL url)
static String
removePropertiesFromHeaderValue(String value)
-
-
-
Field Detail
-
COMPONENT_HEADER
public static final String COMPONENT_HEADER
- See Also:
- Constant Field Values
-
ALLOW_HOST_OVERRIDE
public static final String ALLOW_HOST_OVERRIDE
- See Also:
- Constant Field Values
-
WEB_MODULE
public static final String WEB_MODULE
- See Also:
- Constant Field Values
-
CUSTOM_HEADERS
protected static final String[] CUSTOM_HEADERS
-
-
Method Detail
-
getHeadersFromJar
public static Dictionary<String,String> getHeadersFromJar(URL url)
-
getHeadersFromFile
public static Dictionary<String,String> getHeadersFromFile(File file)
-
getDefaultHeaders
public static Dictionary<String,String> getDefaultHeaders(String symbolicName)
-
getHeaders
public static Dictionary<String,String> getHeaders(Manifest mf) throws org.osgi.framework.BundleException
- Throws:
org.osgi.framework.BundleException
-
removePropertiesFromHeaderValue
public static String removePropertiesFromHeaderValue(String value)
-
-