Package org.javlo.i18n
Class I18nResource
- java.lang.Object
-
- org.javlo.i18n.I18nResource
-
public class I18nResource extends Object
-
-
Constructor Summary
Constructors Constructor Description I18nResource()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearAllCache()PropertiesgetContextI18nFile(int mode, String lg, boolean reload)ConfigurationPropertiesgetEditFile(String lg, boolean reload)static I18nResourcegetInstance(GlobalContext globalContext)ConfigurationPropertiesgetViewFile(String lg, boolean reload)
-
-
-
Method Detail
-
getInstance
public static I18nResource getInstance(GlobalContext globalContext)
-
getEditFile
public ConfigurationProperties getEditFile(String lg, boolean reload) throws IOException
- Throws:
IOException
-
getContextI18nFile
public Properties getContextI18nFile(int mode, String lg, boolean reload) throws IOException
- Throws:
IOException
-
getViewFile
public ConfigurationProperties getViewFile(String lg, boolean reload) throws IOException
- Throws:
IOException
-
clearAllCache
public void clearAllCache()
-
-