Package org.apache.felix.utils.version
Class VersionTable
java.lang.Object
org.apache.felix.utils.version.VersionTable
Cache of Versions backed by a WeakHashMap to conserve memory.
VersionTable.getVersion should be used in preference to new Version() or Version.parseVersion.
- Author:
- dave
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.osgi.framework.Version
getVersion
(int major, int minor, int micro) static org.osgi.framework.Version
getVersion
(int major, int minor, int micro, String qualifier) static org.osgi.framework.Version
getVersion
(String version) static org.osgi.framework.Version
getVersion
(String version, boolean clean)
-
Method Details
-
getVersion
-
getVersion
-
getVersion
public static org.osgi.framework.Version getVersion(int major, int minor, int micro) -
getVersion
public static org.osgi.framework.Version getVersion(int major, int minor, int micro, String qualifier)
-