public class Pckg extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
name
The package's name.
|
String |
version
The package's version.
|
| Constructor and Description |
|---|
Pckg(String name,
String version)
Creates a new package.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Checks whether two packages are equal.
|
int |
hashCode()
Computes the package's hash code.
|
String |
toExportClause()
The export-package clause corresponding of the current package.
|
String |
toString() |
org.osgi.framework.Version |
version()
Gets the OSGi's version of the package's version.
|
public final String name
public final String version
public boolean equals(Object o)
public int hashCode()
public org.osgi.framework.Version version()
public String toString()
public String toExportClause()
Copyright © 2009–2014 OW2 Chameleon. All rights reserved.