org.xnap.commons.maven.gettext
Class ReportMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.reporting.AbstractMavenReport
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
| 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 |
| 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 |
poDirectory
protected File poDirectory
- PO directory.
msgfmtCmd
protected String msgfmtCmd
ReportMojo
public ReportMojo()
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.