org.rhq.core.domain.util
Class OSGiVersionComparator
java.lang.Object
org.rhq.core.domain.util.OSGiVersionComparator
- All Implemented Interfaces:
- Comparator<String>
public class OSGiVersionComparator
- extends Object
- implements Comparator<String>
The specification for what makes up an OSGi compliant version string and how they can be compared was taken from
here:
http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/osgi/org/osgi/framework/Version.html
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OSGiVersionComparator
public OSGiVersionComparator()
compare
public int compare(String string1,
String string2)
- Specified by:
compare
in interface Comparator<String>
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.