org.jboss.console.plugins
Class JSR77Lister.ListerSorter

java.lang.Object
  extended byorg.jboss.console.plugins.JSR77Lister.ListerSorter
All Implemented Interfaces:
java.util.Comparator
Enclosing class:
JSR77Lister (src)

public class JSR77Lister.ListerSorter
extends java.lang.Object
implements java.util.Comparator


Field Summary
protected  java.lang.String[] suffixOrder
           
 
Constructor Summary
JSR77Lister.ListerSorter()
           
JSR77Lister.ListerSorter(java.lang.String[] suffixOrder)
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 int getExtensionIndex(ResourceTreeNode (src)  node)
           
 
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
 

Field Detail

suffixOrder

protected java.lang.String[] suffixOrder
Constructor Detail

JSR77Lister.ListerSorter

public JSR77Lister.ListerSorter(java.lang.String[] suffixOrder)

JSR77Lister.ListerSorter

public JSR77Lister.ListerSorter()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator

getExtensionIndex

public int getExtensionIndex(ResourceTreeNode (src)  node)