Package io.ultreia.java4all.i18n.spi
Class I18nLocalizedResource
- java.lang.Object
-
- io.ultreia.java4all.i18n.spi.I18nCoordinate
-
- io.ultreia.java4all.i18n.spi.I18nResource
-
- io.ultreia.java4all.i18n.spi.I18nLocalizedResource
-
- Direct Known Subclasses:
I18nTemplateDefinition,I18nTranslationSetDefinition
public class I18nLocalizedResource extends I18nResource
Describe any spi objects that is a localized resource (translation, or template).Created by tchemit on 03/11/2018.
- Author:
- Tony Chemit - dev@tchemit.fr
-
-
Field Summary
-
Fields inherited from class io.ultreia.java4all.i18n.spi.I18nResource
I18N_CLASS_PATH
-
Fields inherited from class io.ultreia.java4all.i18n.spi.I18nCoordinate
GROUP_ID_SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description I18nLocalizedResource(String packageName, String name, String extension, Locale locale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalegetLocale()StringgetResourcePath(boolean usePackage)-
Methods inherited from class io.ultreia.java4all.i18n.spi.I18nResource
getExtension, removeExtension
-
Methods inherited from class io.ultreia.java4all.i18n.spi.I18nCoordinate
getId, getId, getName, getPackageName, getResourcePathPrefix
-
-
-
-
Method Detail
-
getLocale
public Locale getLocale()
-
getResourcePath
public String getResourcePath(boolean usePackage)
- Overrides:
getResourcePathin classI18nResource
-
-