org.squashtest.tm.service.internal.library
Class RequirementVersionCategoryComparatorSource

java.lang.Object
  extended by org.apache.lucene.search.FieldComparatorSource
      extended by org.squashtest.tm.service.internal.library.RequirementVersionCategoryComparatorSource
All Implemented Interfaces:
Serializable

public class RequirementVersionCategoryComparatorSource
extends org.apache.lucene.search.FieldComparatorSource

See Also:
Serialized Form

Constructor Summary
RequirementVersionCategoryComparatorSource(org.springframework.context.MessageSource source, Locale locale)
           
 
Method Summary
 Locale getLocale()
           
 org.springframework.context.MessageSource getSource()
           
 org.apache.lucene.search.FieldComparator<?> newComparator(String fieldname, int numHits, int sortPos, boolean reversed)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequirementVersionCategoryComparatorSource

public RequirementVersionCategoryComparatorSource(org.springframework.context.MessageSource source,
                                                  Locale locale)
Method Detail

getSource

public org.springframework.context.MessageSource getSource()

getLocale

public Locale getLocale()

newComparator

public org.apache.lucene.search.FieldComparator<?> newComparator(String fieldname,
                                                                 int numHits,
                                                                 int sortPos,
                                                                 boolean reversed)
                                                          throws IOException
Specified by:
newComparator in class org.apache.lucene.search.FieldComparatorSource
Throws:
IOException


Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.