Package org.nuiton.i18n.plugin
Class I18nUtil
java.lang.Object
org.nuiton.i18n.plugin.I18nUtil
public class I18nUtil
extends java.lang.Object
Place here some useful methods.
Created on 7/27/14.
- Since:
- 3.3
- Author:
- Tony Chemit - chemit@codelutin.com
-
Constructor Summary
Constructors Constructor Description I18nUtil() -
Method Summary
Modifier and Type Method Description static java.io.FilegetI18nFile(java.io.File root, java.lang.String artifactId, java.util.Locale locale, boolean create)
-
Constructor Details
-
I18nUtil
public I18nUtil()
-
-
Method Details
-
getI18nFile
public static java.io.File getI18nFile(java.io.File root, java.lang.String artifactId, java.util.Locale locale, boolean create) throws java.io.IOException- Parameters:
root- le repertoire ou sont stockes les fichiers i18nartifactId- le nom de l'artifactlocale- le nom de la locale (peut-ĂȘtre nulle)create-truepour creer le fichier si non present- Returns:
- le fichier i18n
- Throws:
java.io.IOException- si probleme lors de la creation du fichier
-