A B C D E F G H I J K L N P R S T U Z 

A

annotatedWith(Class<? extends Annotation>) - Method in class c10n.C10NConfigBase.C10NFilterBinder
Restrict filter application only to arguments annotated with the given annotation.
apply(T) - Method in interface c10n.C10NFilter
 
assertNotNull(Object, String) - Static method in class c10n.share.utils.Preconditions
 

B

bind(Class<T>) - Method in class c10n.C10NConfigBase
Create a custom implementation binding for the given c10n interface
bindAnnotation(Class<? extends Annotation>) - Method in class c10n.C10NConfigBase
Create a method annotation binding to the specified locale
bindBundle(String) - Method in class c10n.C10NConfigBase
 
bindFilter(C10NFilterProvider<T>, Class<T>) - Method in class c10n.C10NConfigBase
Create a filter binding for one or more argument types.
bindFilter(C10NFilter<T>, Class<T>) - Method in class c10n.C10NConfigBase
Create a filter binding for one or more argument types.

C

c10n - package c10n
 
C10N - Class in c10n
Utility class for generating implementations of c10n message interfaces annotated with @C10NMessages.
C10N() - Constructor for class c10n.C10N
 
c10n.annotations - package c10n.annotations
 
c10n.share - package c10n.share
 
c10n.share.utils - package c10n.share.utils
 
C10NBundleBinder - Class in c10n
 
C10NBundleBinder() - Constructor for class c10n.C10NBundleBinder
 
C10NBundleKey - Class in c10n.share.utils
A bundle key used to look up the translation in a ResourceBundle.
C10NBundleKey(boolean, String, String) - Constructor for class c10n.share.utils.C10NBundleKey
 
C10NConfigBase - Class in c10n
 
C10NConfigBase() - Constructor for class c10n.C10NConfigBase
 
C10NConfigBase.C10NAnnotationBinder - Class in c10n
 
C10NConfigBase.C10NAnnotationBinder() - Constructor for class c10n.C10NConfigBase.C10NAnnotationBinder
 
C10NConfigBase.C10NFilterBinder<T> - Class in c10n
Filter binding DSL object.
C10NConfigBase.C10NImplementationBinder<T> - Class in c10n
 
C10NConfigBase.C10NImplementationBinder() - Constructor for class c10n.C10NConfigBase.C10NImplementationBinder
 
C10NConfigException - Exception in c10n
 
C10NConfigException(String) - Constructor for exception c10n.C10NConfigException
 
C10NConfigException(String, Throwable) - Constructor for exception c10n.C10NConfigException
 
C10NCoreModule - Class in c10n
 
C10NCoreModule() - Constructor for class c10n.C10NCoreModule
 
C10NDef - Annotation Type in c10n
Optionally marks c10n message interface methods with default translation strings.
C10NEnum - Annotation Type in c10n
 
C10NException - Exception in c10n
 
C10NException(String) - Constructor for exception c10n.C10NException
 
C10NException(String, Throwable) - Constructor for exception c10n.C10NException
 
C10NFilter<T> - Interface in c10n
 
C10NFilterProvider<T> - Interface in c10n
 
C10NFilters - Class in c10n
 
C10NFilters() - Constructor for class c10n.C10NFilters
 
C10NKey - Annotation Type in c10n
 
C10NMessages - Annotation Type in c10n
Marks a c10n message interface in order to make it detectable by the resource bundle generator.
C10NMsgFactory - Interface in c10n
 
cachedFilterProvider(C10NFilterProvider<T>) - Static method in class c10n.C10NFilters
Decorates the specified filter provider with a simple static cache.
configure() - Method in class c10n.annotations.DefaultC10NAnnotations
 
configure(C10NConfigBase) - Static method in class c10n.C10N
 
configure() - Method in class c10n.C10NConfigBase
To be implemented by subclasses of C10NConfigBase.
ConfiguredC10NModule - Interface in c10n
 
Constants - Class in c10n.share
 
Constants() - Constructor for class c10n.share.Constants
 
createMsgFactory(ConfiguredC10NModule) - Static method in class c10n.C10N
 

D

De - Annotation Type in c10n.annotations
Annotation bound to Locale.GERMAN locale
DefaultC10NAnnotations - Class in c10n.annotations
 
DefaultC10NAnnotations() - Constructor for class c10n.annotations.DefaultC10NAnnotations
 
defaultC10NMsgFactory(ConfiguredC10NModule) - Method in class c10n.C10NCoreModule
 
defaultConfig() - Method in class c10n.C10NCoreModule
 
DefaultConfigChainResolver - Class in c10n
 
DefaultConfigChainResolver(C10NConfigBase) - Constructor for class c10n.DefaultConfigChainResolver
 
defaultLocaleMapping() - Method in class c10n.share.ShareModule
 
defaultLocaleProvider() - Method in class c10n.C10NCoreModule
Locale provider that always delegates to Locale.getDefault().
defaultUnknownMessageHandler() - Method in class c10n.C10NCoreModule
 

E

En - Annotation Type in c10n.annotations
Annotation bound to Locale.ENGLISH locale
EncodedResourceControl - Class in c10n.share
 
EncodedResourceControl(String) - Constructor for class c10n.share.EncodedResourceControl
 
enumMapping(Class<E>, Class<?>) - Static method in class c10n.C10NFilters
Create an Enum-to-methods mapping filter to ease Enum translation using C10N.
equals(Object) - Method in class c10n.share.utils.C10NBundleKey
 

F

FALLBACK_LOCALE - Static variable in class c10n.C10N
Internal locale object used as a fallback when current locale does not match any of the user-defined locale mappings.
findClosestMatch(Set<Locale>, Locale) - Method in interface c10n.share.LocaleMapping
Find the locale from the given locale set that is the closes match to the forLocale.
fixed(Locale) - Static method in class c10n.LocaleProviders
 
Fr - Annotation Type in c10n.annotations
Annotation bound to Locale.FRENCH locale

G

get(Class<T>) - Static method in class c10n.C10N
 
get(Class<T>, Locale) - Static method in class c10n.C10N
 
get() - Method in interface c10n.C10NFilterProvider
 
get(Class<T>) - Method in interface c10n.C10NMsgFactory
 
get(Class<T>, Locale) - Method in interface c10n.C10NMsgFactory
 
getAllBoundLocales() - Method in interface c10n.ConfiguredC10NModule
 
getAnnotatedWith() - Method in class c10n.C10NConfigBase.C10NFilterBinder
 
getAnnotationBindings(Class<?>) - Method in interface c10n.ConfiguredC10NModule
 
getBundleBindings(Class<?>, Locale) - Method in interface c10n.ConfiguredC10NModule
 
getC10NKey(String, Method) - Static method in class c10n.share.utils.ReflectionUtils
Work out method's bundle key.
getConfigurationPackage() - Method in class c10n.annotations.DefaultC10NAnnotations
Always returns an empty package name to make sure this configuration is always the parent of all other configurations in the hierarchy
getConfigurationPackage() - Method in class c10n.C10NConfigBase
Get the name of the package for which the current module is responsible.
getCurrentLocale() - Method in interface c10n.ConfiguredC10NModule
 
getDeclaredKey() - Method in class c10n.share.utils.C10NBundleKey
The bundle key as it appeared in the C10NKey annotation value.
getDefaultKey(Method) - Static method in class c10n.share.utils.ReflectionUtils
Works out the non-C10NKey bundle key for method, based on its class FQDN and method name (plus argument types), e.g.
getDefaultKey(Method, StringBuilder) - Static method in class c10n.share.utils.ReflectionUtils
 
getFilterBindings(Class<?>) - Method in interface c10n.ConfiguredC10NModule
 
getFQNString(Class<?>) - Static method in class c10n.share.utils.ReflectionUtils
 
getFQNString(Class<?>, StringBuilder) - Static method in class c10n.share.utils.ReflectionUtils
 
getImplementationBinding(Class<?>, Locale) - Method in interface c10n.ConfiguredC10NModule
 
getImplementationBindings(Class<?>) - Method in interface c10n.ConfiguredC10NModule
 
getKey() - Method in class c10n.share.utils.C10NBundleKey
The bundle key used for retrieval from the bundle.
getKeyAnnotationBasedKey(Method) - Static method in class c10n.share.utils.ReflectionUtils
 
getKeyAnnotationValue(Method) - Static method in class c10n.share.utils.ReflectionUtils
Get the value provided with the C10NKey annotation.
getKeyPrefix() - Method in interface c10n.ConfiguredC10NModule
 
getLocale() - Method in class c10n.C10NConfigBase.C10NAnnotationBinder
 
getLocale() - Method in interface c10n.LocaleProvider
 
getProxyClassloader() - Static method in class c10n.C10N
Get the instance of the classloader currently used for loading c10n-interface proxies.
getRootConfiguredModule() - Static method in class c10n.C10N
 
getRootFactory() - Static method in class c10n.C10N
 
getUntranslatedMessageString(Class<?>, Method, Object[]) - Method in interface c10n.ConfiguredC10NModule
 

H

hashCode() - Method in class c10n.share.utils.C10NBundleKey
 

I

install(C10NConfigBase) - Method in class c10n.C10NConfigBase
Install the given child c10n configuration module
isCustomKey() - Method in class c10n.share.utils.C10NBundleKey
Determines whether the key was automatically generated by c10n, or customised by the user using the C10NKey annotation, either on one of the parent classes, or the method directly, or both.
isDebug() - Method in interface c10n.ConfiguredC10NModule
 
It - Annotation Type in c10n.annotations
Annotation bound to Locale.ITALIAN locale

J

Ja - Annotation Type in c10n.annotations
Annotation bound to Locale.JAPANESE locale

K

Ko - Annotation Type in c10n.annotations
Annotation bound to Locale.KOREAN locale

L

LocaleMapping - Interface in c10n.share
 
LocaleProvider - Interface in c10n
 
LocaleProviders - Class in c10n
 
LocaleProviders() - Constructor for class c10n.LocaleProviders
 

N

newBundle(String, Locale, String, ClassLoader, boolean) - Method in class c10n.share.EncodedResourceControl
 

P

Preconditions - Class in c10n.share.utils
 
Preconditions() - Constructor for class c10n.share.utils.Preconditions
 

R

ReflectionUtils - Class in c10n.share.utils
 
ReflectionUtils() - Constructor for class c10n.share.utils.ReflectionUtils
 
render(Class<?>, Method, Object[]) - Method in interface c10n.UntranslatedMessageHandler
 
resolve(C10NConfigBase) - Method in class c10n.C10NCoreModule
 
resolve(Class<?>) - Method in class c10n.DefaultConfigChainResolver
 
Ru - Annotation Type in c10n.annotations
Annotation bound to new Locale("ru") locale

S

setDebug(boolean) - Method in class c10n.C10NConfigBase
If set to 'true', c10n will output debugging information to std-out at configuration and lookup time.
setKeyPrefix(String) - Method in class c10n.C10NConfigBase
Set global key prefix.
setLocale(Locale) - Method in class c10n.C10NConfigBase
Fixes the Locale to the specified locale.
setLocaleProvider(LocaleProvider) - Method in class c10n.C10NConfigBase
Sets the LocaleProvider for this configuration.
setProxyClassloader(ClassLoader) - Static method in class c10n.C10N
Overrides the classloader used for loading c10n-interface proxies.
setRootFactory(C10NMsgFactory) - Static method in class c10n.C10N
 
setUntranslatedMessageHandler(UntranslatedMessageHandler) - Method in class c10n.C10NConfigBase
Customise placeholder value for unresolved translations.
ShareModule - Class in c10n.share
 
ShareModule() - Constructor for class c10n.share.ShareModule
 
staticFilterProvider(C10NFilter<T>) - Static method in class c10n.C10NFilters
Filter provider that always returns the specified instance

T

to(Class<?>) - Method in class c10n.C10NBundleBinder
 
to(Class<? extends T>, Locale) - Method in class c10n.C10NConfigBase.C10NImplementationBinder
 
to(Class<? extends T>) - Method in class c10n.C10NConfigBase.C10NImplementationBinder
 
toLocale(Locale) - Method in class c10n.C10NConfigBase.C10NAnnotationBinder
 
toString() - Method in class c10n.share.utils.C10NBundleKey
 

U

UNDEF - Static variable in class c10n.share.Constants
 
UntranslatedMessageHandler - Interface in c10n
Determines how untranslated c10n interface methods are rendered to String.

Z

Zh - Annotation Type in c10n.annotations
Annotation bound to Locale.CHINESE locale
A B C D E F G H I J K L N P R S T U Z 

Copyright © 2013. All Rights Reserved.