org.apache.maven.doxia.tools
Class ReportComparator

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

public class ReportComparator
extends Object
implements Comparator<org.apache.maven.reporting.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(org.apache.maven.reporting.MavenReport r1, org.apache.maven.reporting.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(org.apache.maven.reporting.MavenReport r1,
                   org.apache.maven.reporting.MavenReport r2)

Specified by:
compare in interface Comparator<org.apache.maven.reporting.MavenReport>


Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.