Uses of Interface
com.aoapps.lang.function.SerializableBiFunction
Package
Description
Internationalization (i18n) utilities shared by many projects.
-
Uses of SerializableBiFunction in com.aoapps.lang.i18n
Modifier and TypeMethodDescriptionstatic Resources
Resources.getResources
(SerializableBiFunction<String, Locale, ResourceBundle> bundleAccessor, Class<?> clazz) Accesses the resources in theResources.DEFAULT_SUBPACKAGE
sub-package of the given class namedResources.DEFAULT_NAME
withclazz.getSimpleName() + '.'
as the prefix.static Resources
Resources.getResources
(SerializableBiFunction<String, Locale, ResourceBundle> bundleAccessor, Package pack) Accesses the resources in theResources.DEFAULT_SUBPACKAGE
sub-package of the given package namedResources.DEFAULT_NAME
.static Resources
Resources.getResources
(SerializableBiFunction<String, Locale, ResourceBundle> bundleAccessor, Package pack, String name) Accesses the resources in the given package (or sub-package) with the given name and no prefix.static Resources
Resources.getResources
(SerializableBiFunction<String, Locale, ResourceBundle> bundleAccessor, Package pack, String name, String prefix) Accesses the resources in the given package (or sub-package) with the given name and prefix.static Resources
Resources.getResources
(SerializableBiFunction<String, Locale, ResourceBundle> bundleAccessor, String baseName) Deprecated.Please use one of the class- or package-relative techniques in locating the resource bundle, as they will correctly locate the resources after packages are renamed by code obfuscation.static Resources
Resources.getResources
(SerializableBiFunction<String, Locale, ResourceBundle> bundleAccessor, String baseName, String prefix) Deprecated.Please use one of the class- or package-relative techniques in locating the resource bundle, as they will correctly locate the resources after packages are renamed by code obfuscation.