public abstract class I18nDecoratorHelper
extends org.nuiton.i18n.util.BeanPropertyI18nKeyProducerProvider
| Constructor and Description |
|---|
I18nDecoratorHelper() |
| Modifier and Type | Method and Description |
|---|---|
static I18nDecoratorHelper |
get() |
static String |
getPropertyI18nKey(Class type,
String propertyName) |
static String |
getPropertyName(Class key) |
static String |
getTitle(Class key) |
static String |
getTypeI18nKey(Class key) |
static String |
getTypePluralI18nKey(Class key) |
static <C extends Class<?>> |
sortPluralTypes(Collection<C> types,
Locale locale) |
static <C extends Class<?>> |
sortTypes(Collection<C> types,
Locale locale) |
public static I18nDecoratorHelper get()
public static <C extends Class<?>> List<C> sortTypes(Collection<C> types, Locale locale)
public static <C extends Class<?>> List<C> sortPluralTypes(Collection<C> types, Locale locale)
Copyright © 2017–2018 IRD. All rights reserved.