Package org.nuiton.i18n.plugin
Class I18nUtil
java.lang.Object
org.nuiton.i18n.plugin.I18nUtil
Place here some useful methods.
Created on 7/27/14.
- Since:
- 3.3
- Author:
- Tony Chemit - chemit@codelutin.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FilegetI18nFile(File root, String artifactId, Locale locale, boolean create)
-
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 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:
IOException- si probleme lors de la creation du fichier
-