org.nuiton.i18n.plugin
Class Getter

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.nuiton.i18n.plugin.AbstractI18nPlugin
          extended by org.nuiton.i18n.plugin.Getter
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class Getter
extends AbstractI18nPlugin

Recupere les différents fichiers des parsers en un fichier de proprietes.

Author:
julien

Field Summary
 
Fields inherited from class org.nuiton.i18n.plugin.AbstractI18nPlugin
artifactId, bundles, DIRECTORY_INSTALL, encoding, events, genSrc, keepBackup, keysModifier, locales, out, silent, src, strictMode, verbose, verboseLog
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
Getter()
           
 
Method Summary
protected  void concactProperties(java.io.File in, java.io.File out)
          Concatene deux fichiers de proprietes
 void execute()
           
 
Methods inherited from class org.nuiton.i18n.plugin.AbstractI18nPlugin
addGetter, addParserEvent, backupFile, checkBundle, copyFile, getArtifactId, getGetterFile, getGetterFileBackup, getI18nFile, getI18nFileBackup, getVerboseLog, init, needGeneration, removeParserEvent
 
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
 

Constructor Detail

Getter

public Getter()
Method Detail

execute

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

concactProperties

protected void concactProperties(java.io.File in,
                                 java.io.File out)
                          throws java.io.IOException
Concatene deux fichiers de proprietes

Parameters:
in - le fichier entrant
out - le fichier sortant
Throws:
java.io.IOException - si problème pendant la sauvegarde ou fichier non trouvé.


Copyright © 2007-2009 CodeLutin. All Rights Reserved.