Class I18nUtil

java.lang.Object
org.nuiton.i18n.plugin.I18nUtil

public class I18nUtil extends Object
Place here some useful methods. Created on 7/27/14.
Since:
3.3
Author:
Tony Chemit - chemit@codelutin.com
  • Constructor Details

    • I18nUtil

      public I18nUtil()
  • Method Details

    • getI18nFile

      public static File getI18nFile(File root, String artifactId, Locale locale, boolean create) throws IOException
      Parameters:
      root - le repertoire ou sont stockes les fichiers i18n
      artifactId - le nom de l'artifact
      locale - le nom de la locale (peut-ĂȘtre nulle)
      create - true pour creer le fichier si non present
      Returns:
      le fichier i18n
      Throws:
      IOException - si probleme lors de la creation du fichier