Package io.ultreia.java4all.i18n.spi
Class I18nResource
- java.lang.Object
-
- io.ultreia.java4all.i18n.spi.I18nCoordinate
-
- io.ultreia.java4all.i18n.spi.I18nResource
-
- Direct Known Subclasses:
I18nKeySetDefinition,I18nLocalizedResource
public class I18nResource extends I18nCoordinate
Describe any spi objects that is a resource (key, translation, or template).Created by tchemit on 03/11/2018.
- Author:
- Tony Chemit - dev@tchemit.fr
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringI18N_CLASS_PATHWhere to store any i18n resources in the class-path.-
Fields inherited from class io.ultreia.java4all.i18n.spi.I18nCoordinate
GROUP_ID_SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description I18nResource(I18nCoordinate coordinate, String extension)I18nResource(String packageName, String name, String extension)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetExtension()StringgetResourcePath(boolean usePackage)static StringremoveExtension(String name, String extension)-
Methods inherited from class io.ultreia.java4all.i18n.spi.I18nCoordinate
getId, getId, getName, getPackageName, getResourcePathPrefix
-
-
-
-
Field Detail
-
I18N_CLASS_PATH
protected static final String I18N_CLASS_PATH
Where to store any i18n resources in the class-path.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
I18nResource
public I18nResource(I18nCoordinate coordinate, String extension)
-
-