org.xnap.commons.maven.gettext
Class ReportMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.reporting.AbstractMavenReport
          extended by org.xnap.commons.maven.gettext.ReportMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.apache.maven.reporting.MavenReport

public class ReportMojo
extends org.apache.maven.reporting.AbstractMavenReport

Goal that generates a report.

Author:
Steffen Pingel

Field Summary
protected  String msgfmtCmd
           
protected  File poDirectory
          PO directory.
 
Fields inherited from interface org.apache.maven.reporting.MavenReport
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLE
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ReportMojo()
           
 
Method Summary
protected  void executeReport(Locale locale)
           
 org.xnap.commons.maven.gettext.ReportMojo.Stats gatherStats()
           
 String getDescription(Locale locale)
           
static Locale getLocale(File file)
           
 String getName(Locale locale)
           
protected  String getOutputDirectory()
           
 String getOutputName()
           
protected  org.apache.maven.project.MavenProject getProject()
           
protected  org.codehaus.doxia.site.renderer.SiteRenderer getSiteRenderer()
           
 
Methods inherited from class org.apache.maven.reporting.AbstractMavenReport
canGenerateReport, closeReport, execute, generate, getCategoryName, getReportOutputDirectory, getSink, isExternalReport, setReportOutputDirectory
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

poDirectory

protected File poDirectory
PO directory.


msgfmtCmd

protected String msgfmtCmd
Constructor Detail

ReportMojo

public ReportMojo()
Method Detail

executeReport

protected void executeReport(Locale locale)
                      throws org.apache.maven.reporting.MavenReportException
Specified by:
executeReport in class org.apache.maven.reporting.AbstractMavenReport
Throws:
org.apache.maven.reporting.MavenReportException

getDescription

public String getDescription(Locale locale)

getName

public String getName(Locale locale)

getOutputDirectory

protected String getOutputDirectory()
Specified by:
getOutputDirectory in class org.apache.maven.reporting.AbstractMavenReport

getOutputName

public String getOutputName()

getProject

protected org.apache.maven.project.MavenProject getProject()
Specified by:
getProject in class org.apache.maven.reporting.AbstractMavenReport

getSiteRenderer

protected org.codehaus.doxia.site.renderer.SiteRenderer getSiteRenderer()
Specified by:
getSiteRenderer in class org.apache.maven.reporting.AbstractMavenReport

gatherStats

public org.xnap.commons.maven.gettext.ReportMojo.Stats gatherStats()

getLocale

public static Locale getLocale(File file)


Copyright © 2013. All Rights Reserved.