public class Import extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
Import(String value)
Create a new import based on the string value found in MANIFEST.MF
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPackage() |
org.apache.felix.utils.version.VersionRange |
getVersion() |
static List<Import> |
parse(String value)
Parse the value of an Import-Package META-INF header and return
a list of Import instances
|
static List<Import> |
parse(String importValue,
String exportValue)
Parse the value of an Import-Package META-INF header and return
a list of Import instances, filtering out packages that are in the
Export-Package META-INF header
|
String |
toString() |
protected Import(String value)
value - the MANIFEST.MF valuepublic String getPackage()
public org.apache.felix.utils.version.VersionRange getVersion()
public static List<Import> parse(String value)
public static List<Import> parse(String importValue, String exportValue)
importValue - the value of the Import-Package headerexportValue - the value of the Export-Package headerCopyright © 2007-2014 FuseSource, Corp.. All Rights Reserved.