org.apache.maven.doxia.tools
Class ReportComparator

java.lang.Object
  extended by org.apache.maven.doxia.tools.ReportComparator
All Implemented Interfaces:
Comparator<MavenReport>

public class ReportComparator
extends Object
implements Comparator<MavenReport>

Sorts reports.

Version:
$Id: ReportComparator.java 1060702 2011-01-19 07:40:28Z ltheussl $
Author:
Brett Porter

Constructor Summary
ReportComparator(Locale locale)
          Default constructor.
 
Method Summary
 int compare(MavenReport r1, MavenReport r2)
          
 
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

ReportComparator

public ReportComparator(Locale locale)
Default constructor.

Parameters:
locale - not null
Method Detail

compare

public int compare(MavenReport r1,
                   MavenReport r2)

Specified by:
compare in interface Comparator<MavenReport>


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.