com.jalios.jcms
Class Channel.TypeLabelComparator

java.lang.Object
  extended by com.jalios.jcms.Channel.TypeLabelComparator
All Implemented Interfaces:
Comparator
Enclosing class:
Channel

public class Channel.TypeLabelComparator
extends Object
implements Comparator

Sort type according their label in a given language.

Since:
jcms-5.7.0
Version:
$Revision: 59254 $

Constructor Summary
Channel.TypeLabelComparator(String lang)
           
 
Method Summary
 int compare(Object o1, Object o2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

Channel.TypeLabelComparator

public Channel.TypeLabelComparator(String lang)
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator


Copyright © 2001-2010 Jalios SA. All Rights Reserved.