Package com.github.cukedoctor.i18n
Class I18nLoader
- java.lang.Object
-
- java.util.ResourceBundle.Control
-
- com.github.cukedoctor.i18n.I18nLoader
-
public class I18nLoader extends ResourceBundle.Control
This class is responsible for internationalization.It uses features language to determine in which language the documentation will be generated. Created by pestano on 19/02/16.
-
-
Field Summary
-
Fields inherited from class java.util.ResourceBundle.Control
FORMAT_CLASS, FORMAT_DEFAULT, FORMAT_PROPERTIES, TTL_DONT_CACHE, TTL_NO_EXPIRATION_CONTROL
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage(String key)StringgetMessage(String key, Object... params)static I18nLoaderinstance(List<Feature> features)static I18nLoadernewInstance(List<Feature> features)-
Methods inherited from class java.util.ResourceBundle.Control
getCandidateLocales, getControl, getFallbackLocale, getFormats, getNoFallbackControl, getTimeToLive, needsReload, newBundle, toBundleName, toResourceName
-
-