Skip navigation links
B C G I M O P R S U V 

B

biz.gabrys.easybundle - package biz.gabrys.easybundle
EasyBundle is a simple library which supports internationalization.
Bundle - Interface in biz.gabrys.easybundle
The interface implemented by all bundles, which defines method to change bundle locale.
BundleException - Exception in biz.gabrys.easybundle
Parent class for all exceptions associated with bundles.
BundleException(String) - Constructor for exception biz.gabrys.easybundle.BundleException
Constructs a new instance of BundleException with the specified detail message.
BundleException(Throwable) - Constructor for exception biz.gabrys.easybundle.BundleException
Constructs a new instance of BundleException with the specified cause.
BundleException(String, Throwable) - Constructor for exception biz.gabrys.easybundle.BundleException
Constructs a new instance of BundleException with the specified detail message and cause.
BundleFactory - Interface in biz.gabrys.easybundle
Responsible for creating new instances of Bundle and message bundle interface specified by user.
BundleManager - Interface in biz.gabrys.easybundle
Responsible for the management of bundles (returning and changing locale).
BundleManagerImpl - Class in biz.gabrys.easybundle
Default implementation of BundleManager.
BundleManagerImpl(BundleFactory) - Constructor for class biz.gabrys.easybundle.BundleManagerImpl
Constructs a new instance of BundleManagerImpl and sets current locale with value of default locale for this instance of the Java Virtual Machine.
BundleManagerImpl(BundleFactory, Locale) - Constructor for class biz.gabrys.easybundle.BundleManagerImpl
Constructs a new instance of BundleManagerImpl and sets current locale.
BundleReloadListener - Interface in biz.gabrys.easybundle
The listener interface for receiving bundle reload events.
BundleValidator - Class in biz.gabrys.easybundle
Contains method to checks whether interfaces are correct.

C

CHANGE_LANGUAGE_METHOD_NAME - Static variable in interface biz.gabrys.easybundle.Bundle
Name of the method which is responsible for selecting bundle locale.
create(Class<?>, Locale) - Method in interface biz.gabrys.easybundle.BundleFactory
Creates a new instance of Bundle which implements interface interfaceClass.
create(Class<?>, Locale) - Method in class biz.gabrys.easybundle.MultiplePropertyResourceBundleFactory
Creates a new instance of Bundle which implements interface interfaceClass.
create(Class<?>, Locale) - Method in class biz.gabrys.easybundle.PropertyResourceBundleFactory
Creates a new instance of Bundle which implements interface interfaceClass.

G

getBundle(Class<E>) - Method in interface biz.gabrys.easybundle.BundleManager
Returns a bundle for specified interface.
getBundle(Class<E>) - Method in class biz.gabrys.easybundle.BundleManagerImpl
Returns a bundle for specified interface.
getLocale() - Method in interface biz.gabrys.easybundle.BundleManager
Returns a current manager locale.
getLocale() - Method in class biz.gabrys.easybundle.BundleManagerImpl
Returns a current manager locale.
getManager() - Static method in class biz.gabrys.easybundle.MultiplePropertyResourceBundleManagerStorage
Returns always the same instance of BundleManager.

I

InvalidInterfaceException - Exception in biz.gabrys.easybundle
Thrown to indicate that an interface is incorrect.
InvalidInterfaceException(String) - Constructor for exception biz.gabrys.easybundle.InvalidInterfaceException
Constructs a new instance of InvalidInterfaceException with the specified detail message.
InvalidInterfaceException(Throwable) - Constructor for exception biz.gabrys.easybundle.InvalidInterfaceException
Constructs a new instance of InvalidInterfaceException with the specified cause.
InvalidInterfaceException(String, Throwable) - Constructor for exception biz.gabrys.easybundle.InvalidInterfaceException
Constructs a new instance of InvalidInterfaceException with the specified detail message and cause.
isMethodCorrect(Method) - Static method in class biz.gabrys.easybundle.BundleValidator
Checks whether a method declaration is allowed in the correct interface.

M

METHOD_NAME_PREFIX - Static variable in class biz.gabrys.easybundle.BundleValidator
The correct name prefix for the methods defined in the interface.
MultiplePropertyResourceBundleFactory - Class in biz.gabrys.easybundle
Standard implementation of BundleFactory which store translations in multiple properties files (one per bundle).
MultiplePropertyResourceBundleFactory() - Constructor for class biz.gabrys.easybundle.MultiplePropertyResourceBundleFactory
Constructs a new instance.
MultiplePropertyResourceBundleManagerStorage - Class in biz.gabrys.easybundle
Stores single instance of BundleManager which gets messages from property file.

O

onBundleReload() - Method in interface biz.gabrys.easybundle.BundleReloadListener
Invoked when the bundle has been reloaded.

P

PropertyResourceBundleFactory - Class in biz.gabrys.easybundle
Standard implementation of BundleFactory which store translations in "one" property file (one for all bundles).
PropertyResourceBundleFactory(String) - Constructor for class biz.gabrys.easybundle.PropertyResourceBundleFactory
Constructs a new instance of PropertyResourceBundleFactory and sets file path prefix.

R

register(BundleReloadListener) - Method in interface biz.gabrys.easybundle.BundleManager
Adds a BundleReloadListener to the listener list.
register(BundleReloadListener) - Method in class biz.gabrys.easybundle.BundleManagerImpl
Adds a BundleReloadListener to the listener list.
ReloadBundleException - Exception in biz.gabrys.easybundle
Thrown to indicate that an error occurred while reloading the bundle.
ReloadBundleException(String) - Constructor for exception biz.gabrys.easybundle.ReloadBundleException
Constructs a new instance of ReloadBundleException with the specified detail message.
ReloadBundleException(Throwable) - Constructor for exception biz.gabrys.easybundle.ReloadBundleException
Constructs a new instance of ReloadBundleException with the specified cause.
ReloadBundleException(String, Throwable) - Constructor for exception biz.gabrys.easybundle.ReloadBundleException
Constructs a new instance of ReloadBundleException with the specified detail message and cause.

S

setLocale(Locale) - Method in interface biz.gabrys.easybundle.Bundle
Sets the bundle locale.
setLocale(Locale) - Method in interface biz.gabrys.easybundle.BundleManager
Sets a new locale for all bundles (those created and which will be created) and after the successful set - reload all listeners.
setLocale(Locale) - Method in class biz.gabrys.easybundle.BundleManagerImpl
Sets a new locale for all bundles (those created and which will be created) and after the successful set - reload all listeners.

U

UndefinedTranslationException - Exception in biz.gabrys.easybundle
Thrown to indicate that a bundle cannot find a translation for specified key.
UndefinedTranslationException(String) - Constructor for exception biz.gabrys.easybundle.UndefinedTranslationException
Constructs a new instance of UndefinedTranslationException with the specified detail message.
UndefinedTranslationException(Throwable) - Constructor for exception biz.gabrys.easybundle.UndefinedTranslationException
Constructs a new instance of UndefinedTranslationException with the specified cause.
UndefinedTranslationException(String, Throwable) - Constructor for exception biz.gabrys.easybundle.UndefinedTranslationException
Constructs a new instance of UndefinedTranslationException with the specified detail message and cause.
unregister(BundleReloadListener) - Method in interface biz.gabrys.easybundle.BundleManager
Removes a BundleReloadListener from the listener list.
unregister(BundleReloadListener) - Method in class biz.gabrys.easybundle.BundleManagerImpl
Removes a BundleReloadListener from the listener list.
unregisterAll() - Method in interface biz.gabrys.easybundle.BundleManager
Removes all listeners from the listener list.
unregisterAll() - Method in class biz.gabrys.easybundle.BundleManagerImpl
Removes all listeners from the listener list.

V

validateInterface(Class<?>) - Static method in class biz.gabrys.easybundle.BundleValidator
Checks whether an interface is correct.
B C G I M O P R S U V 
Skip navigation links

Copyright © 2013–2018 gabrys.biz. All rights reserved.