net.java.sip.communicator.plugin.skinmanager
Class BundleComparator
java.lang.Object
net.java.sip.communicator.plugin.skinmanager.BundleComparator
- All Implemented Interfaces:
- Comparator<org.osgi.framework.Bundle>
public class BundleComparator
- extends Object
- implements Comparator<org.osgi.framework.Bundle>
Comparator for bundle array sort
- Author:
- ROTH Damien
|
Method Summary |
int |
compare(org.osgi.framework.Bundle arg0,
org.osgi.framework.Bundle arg1)
Compares the bundles using their "Bundle-Name"s. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BundleComparator
public BundleComparator()
compare
public int compare(org.osgi.framework.Bundle arg0,
org.osgi.framework.Bundle arg1)
- Compares the bundles using their "Bundle-Name"s.
- Specified by:
compare in interface Comparator<org.osgi.framework.Bundle>
- Parameters:
arg0 - the first bundle to comparearg1 - the second bundle to compare
- Returns:
- the result of the string comparison between the names of the two
bundles
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.