com.atlassian.maven.plugins.pseudoloc
Class PseudoLocPlugin

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.atlassian.maven.plugins.pseudoloc.PseudoLocPlugin
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class PseudoLocPlugin
extends org.apache.maven.plugin.AbstractMojo

Pseudo-localise a given properties file


Field Summary
protected  FileActionParameter[] copyActions
          The parameters defining the files that need to be copied as-is.
protected  FileActionParameter[] pseudoLocaliseActions
          The parameters defining the files that need to be copied and pseudo-localised.
protected  FileActionParameter[] replaceLocaleActions
          The parameters defining the files that need to be copied with their locale strings replaced with the new locale.
protected  java.lang.String sourceLocale
          The name of the source locale (e.g.
protected  java.lang.String targetLocale
          The name of the target locale (e.g.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
PseudoLocPlugin()
           
 
Method Summary
 void execute()
           
 
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

copyActions

protected FileActionParameter[] copyActions
The parameters defining the files that need to be copied as-is.


replaceLocaleActions

protected FileActionParameter[] replaceLocaleActions
The parameters defining the files that need to be copied with their locale strings replaced with the new locale.


pseudoLocaliseActions

protected FileActionParameter[] pseudoLocaliseActions
The parameters defining the files that need to be copied and pseudo-localised.


sourceLocale

protected java.lang.String sourceLocale
The name of the source locale (e.g. en_UK)


targetLocale

protected java.lang.String targetLocale
The name of the target locale (e.g. en_AQ)

Constructor Detail

PseudoLocPlugin

public PseudoLocPlugin()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2010 Atlassian. All Rights Reserved.