Uses of Class
com.aoapps.lang.i18n.Resources
Packages that use Resources
Package
Description
Internationalization (i18n) utilities shared by many projects.
-
Uses of Resources in com.aoapps.lang
Fields in com.aoapps.lang declared as ResourcesModifier and TypeFieldDescriptionprotected final Resources
LocalizedIllegalArgumentException.resources
protected final Resources
LocalizedIllegalStateException.resources
protected final Resources
LocalizedUnsupportedOperationException.resources
Methods in com.aoapps.lang that return ResourcesModifier and TypeMethodDescriptionfinal Resources
LocalizedIllegalArgumentException.getResources()
final Resources
LocalizedIllegalStateException.getResources()
final Resources
LocalizedUnsupportedOperationException.getResources()
Constructors in com.aoapps.lang with parameters of type ResourcesModifierConstructorDescriptionLocalizedIllegalArgumentException
(Resources resources, String key) LocalizedIllegalArgumentException
(Resources resources, String key, Serializable... args) LocalizedIllegalArgumentException
(Throwable cause, Resources resources, String key) LocalizedIllegalArgumentException
(Throwable cause, Resources resources, String key, Serializable... args) LocalizedIllegalStateException
(Resources resources, String key) LocalizedIllegalStateException
(Resources resources, String key, Serializable... args) LocalizedIllegalStateException
(Throwable cause, Resources resources, String key) LocalizedIllegalStateException
(Throwable cause, Resources resources, String key, Serializable... args) LocalizedUnsupportedOperationException
(Resources resources, String key) LocalizedUnsupportedOperationException
(Resources resources, String key, Serializable... args) LocalizedUnsupportedOperationException
(Throwable cause, Resources resources, String key) LocalizedUnsupportedOperationException
(Throwable cause, Resources resources, String key, Serializable... args) -
Uses of Resources in com.aoapps.lang.concurrent
Fields in com.aoapps.lang.concurrent declared as ResourcesMethods in com.aoapps.lang.concurrent that return ResourcesConstructors in com.aoapps.lang.concurrent with parameters of type ResourcesModifierConstructorDescriptionLocalizedTimeoutException
(Resources resources, String key) LocalizedTimeoutException
(Resources resources, String key, Serializable... args) -
Uses of Resources in com.aoapps.lang.exception
Methods in com.aoapps.lang.exception that return ResourcesModifier and TypeMethodDescriptionLocalizedException.getResources()
Gets the resources used to generate the message ornull
when the message is not localized and uses a default. -
Uses of Resources in com.aoapps.lang.i18n
Methods in com.aoapps.lang.i18n that return ResourcesModifier and TypeMethodDescriptionstatic Resources
Resources.getResources
(SerializableBiFunction<String, Locale, ResourceBundle> bundleAccessor, Class<?> clazz) Accesses the resources in theDEFAULT_SUBPACKAGE
sub-package of the given class namedDEFAULT_NAME
withclazz.getSimpleName() + '.'
as the prefix.static Resources
Resources.getResources
(SerializableBiFunction<String, Locale, ResourceBundle> bundleAccessor, Package pack) Accesses the resources in theDEFAULT_SUBPACKAGE
sub-package of the given package namedDEFAULT_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.static Resources
Resources.getResources
(Class<?> clazz) Deprecated.Please usegetResources(com.aoapps.lang.function.SerializableBiFunction, java.lang.Class)
instead.static Resources
Resources.getResources
(Package pack) Deprecated.Please usegetResources(com.aoapps.lang.function.SerializableBiFunction, java.lang.Package)
instead.static Resources
Resources.getResources
(Package pack, String name) Deprecated.static Resources
Resources.getResources
(Package pack, String name, String prefix) Deprecated.static Resources
Resources.getResources
(String baseName) Deprecated.Please usegetResources(com.aoapps.lang.function.SerializableBiFunction, java.lang.String)
instead.static Resources
Resources.getResources
(String baseName, String prefix) Deprecated.Methods in com.aoapps.lang.i18n with parameters of type ResourcesModifier and TypeMethodDescriptiondefault void
void
LocalizedConsumerE.accept
(Resources resources, String key, Serializable... args) default T
LocalizedSupplierE.get
(Resources resources, String key, Serializable... args) void
Resources.Listener.onGetMessage
(Resources resources, Locale locale, String key, Object[] args, String resource, String result) Called duringgetMessage(java.util.Locale, java.lang.String, java.lang.Object...)
when a lookup is performed and the key found. -
Uses of Resources in com.aoapps.lang.io
Fields in com.aoapps.lang.io declared as ResourcesModifier and TypeFieldDescriptionprotected final Resources
LocalizedIOException.resources
protected final Resources
LocalizedUnsupportedEncodingException.resources
Methods in com.aoapps.lang.io that return ResourcesModifier and TypeMethodDescriptionfinal Resources
LocalizedIOException.getResources()
final Resources
LocalizedUnsupportedEncodingException.getResources()
Constructors in com.aoapps.lang.io with parameters of type ResourcesModifierConstructorDescriptionLocalizedIOException
(Resources resources, String key) LocalizedIOException
(Resources resources, String key, Serializable... args) LocalizedIOException
(Throwable cause, Resources resources, String key) LocalizedIOException
(Throwable cause, Resources resources, String key, Serializable... args) LocalizedUnsupportedEncodingException
(Resources resources, String key) LocalizedUnsupportedEncodingException
(Resources resources, String key, Serializable... args) LocalizedUnsupportedEncodingException
(Throwable cause, Resources resources, String key) LocalizedUnsupportedEncodingException
(Throwable cause, Resources resources, String key, Serializable... args) -
Uses of Resources in com.aoapps.lang.sql
Fields in com.aoapps.lang.sql declared as ResourcesMethods in com.aoapps.lang.sql that return ResourcesConstructors in com.aoapps.lang.sql with parameters of type ResourcesModifierConstructorDescriptionLocalizedSQLException
(String sqlState, int vendorCode, Resources resources, String key) LocalizedSQLException
(String sqlState, int vendorCode, Resources resources, String key, Serializable... args) LocalizedSQLException
(String sqlState, int vendorCode, Throwable cause, Resources resources, String key) LocalizedSQLException
(String sqlState, int vendorCode, Throwable cause, Resources resources, String key, Serializable... args) LocalizedSQLException
(String sqlState, Resources resources, String key) LocalizedSQLException
(String sqlState, Resources resources, String key, Serializable... args) LocalizedSQLException
(String sqlState, Throwable cause, Resources resources, String key) LocalizedSQLException
(String sqlState, Throwable cause, Resources resources, String key, Serializable... args) -
Uses of Resources in com.aoapps.lang.text
Fields in com.aoapps.lang.text declared as ResourcesMethods in com.aoapps.lang.text that return ResourcesConstructors in com.aoapps.lang.text with parameters of type ResourcesModifierConstructorDescriptionLocalizedParseException
(int errorOffset, Resources resources, String key) LocalizedParseException
(int errorOffset, Resources resources, String key, Serializable... args) -
Uses of Resources in com.aoapps.lang.util
Fields in com.aoapps.lang.util declared as Resources -
Uses of Resources in com.aoapps.lang.validation
Methods in com.aoapps.lang.validation that return ResourcesConstructors in com.aoapps.lang.validation with parameters of type ResourcesModifierConstructorDescriptionInvalidResult
(Resources resources, String key) InvalidResult
(Resources resources, String key, Serializable... args)