DLESE Tools
v1.2

org.dlese.dpc.dds
Class SortDocsAlphabetically

java.lang.Object
  extended byorg.dlese.dpc.dds.SortDocsAlphabetically
All Implemented Interfaces:
Comparator

public class SortDocsAlphabetically
extends Object
implements Comparator

Description of the Class

Author:
ryandear

Constructor Summary
SortDocsAlphabetically()
           
 
Method Summary
 int compare(Object o1, Object o2)
          Provide comparison for sorting Lucene documents alphabetically by "title"
 
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

SortDocsAlphabetically

public SortDocsAlphabetically()
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Provide comparison for sorting Lucene documents alphabetically by "title"

Specified by:
compare in interface Comparator
Parameters:
o1 - document 1
o2 - document 2
Returns:
DESCRIPTION

DLESE Tools
v1.2