|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.karaf.shell.dev.util.Import
public class Import
Simple class to model an OSGi Import-Package
| Constructor Summary | |
|---|---|
protected |
Import(String value)
Create a new import based on the string value found in MANIFEST.MF |
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected Import(String value)
value - the MANIFEST.MF value| Method Detail |
|---|
public String getPackage()
public org.apache.felix.utils.version.VersionRange getVersion()
public String toString()
toString in class Objectpublic 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 header
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||