A C E G I L M R T V

A

addURL(URL) - Method in class ch.qos.cal10n.plugins.ThisFirstClassLoader
 
AnnotationExtractor - Class in ch.qos.cal10n.util
 
AnnotationExtractor() - Constructor for class ch.qos.cal10n.util.AnnotationExtractor
 

C

Cal10nConstants - Class in ch.qos.cal10n
This class defines the shared constants in CAL10N.
Cal10nConstants() - Constructor for class ch.qos.cal10n.Cal10nConstants
 
Cal10nError - Class in ch.qos.cal10n.verifier
Aggregates various parameters of a verification error in a single place (class).
ch.qos.cal10n - package ch.qos.cal10n
The main package of the CAL10N project.
ch.qos.cal10n.plugins - package ch.qos.cal10n.plugins
Maven plugin verifying that the codes defined in an enum type match those in the corresponding resource bundles.
ch.qos.cal10n.smoke - package ch.qos.cal10n.smoke
Smoke testing the maven plugin.
ch.qos.cal10n.util - package ch.qos.cal10n.util
Package containing utility classes, used internally by the CAL10N project.
ch.qos.cal10n.verifier - package ch.qos.cal10n.verifier
Support classes for verifying that there are no message code mis-matches between resource bundles and the corresponding enum type.
checkAllLocales(IMessageCodeVerifier) - Method in class ch.qos.cal10n.plugins.VerifyMojo
 
CODE_URL_PREFIX - Static variable in class ch.qos.cal10n.Cal10nConstants
 
Countries - Enum in ch.qos.cal10n.smoke
 

E

ErrorFactory - Class in ch.qos.cal10n.verifier
Simplifies the creation of Cal10nError instances.
ErrorFactory(Class<?>, Locale, String) - Constructor for class ch.qos.cal10n.verifier.ErrorFactory
 
execute() - Method in class ch.qos.cal10n.plugins.VerifyMojo
 

G

getCode() - Method in class ch.qos.cal10n.verifier.Cal10nError
 
getEnumClass() - Method in class ch.qos.cal10n.verifier.Cal10nError
 
getEnumType() - Method in interface ch.qos.cal10n.verifier.IMessageCodeVerifier
Get the of enum type that this verifier is related to to.
getEnumType() - Method in class ch.qos.cal10n.verifier.MessageCodeVerifier
 
getEnumTypeAsStr() - Method in interface ch.qos.cal10n.verifier.IMessageCodeVerifier
Get the name of enum type to this verifier is related to to.
getEnumTypeAsStr() - Method in class ch.qos.cal10n.verifier.MessageCodeVerifier
 
getErrorType() - Method in class ch.qos.cal10n.verifier.Cal10nError
 
getLocale() - Method in class ch.qos.cal10n.verifier.Cal10nError
 
getLocaleNames(Class<E>) - Static method in class ch.qos.cal10n.util.AnnotationExtractor
 
getLocaleNames() - Method in interface ch.qos.cal10n.verifier.IMessageCodeVerifier
Get the locales specified in the enumType (via annotations)
getLocaleNames() - Method in class ch.qos.cal10n.verifier.MessageCodeVerifier
 
getMessage(E, Object...) - Method in interface ch.qos.cal10n.IMessageConveyor
Retrieve a message by its code as specified by an enum.
getMessage(E, Object...) - Method in class ch.qos.cal10n.MessageConveyor
Given an enum e, find the corresponding resource bundle and return the internationalized message defined by the message code 'e'.
getResourceBundleName(Class<E>) - Static method in class ch.qos.cal10n.util.AnnotationExtractor
 
getResourceBundleName() - Method in interface ch.qos.cal10n.verifier.IMessageCodeVerifier
Get the name of the resource bundle specified in the enumType (via annotations)
getResourceBundleName() - Method in class ch.qos.cal10n.verifier.MessageCodeVerifier
 

I

IMessageCodeVerifier - Interface in ch.qos.cal10n.verifier
An interface for verifying that given an enum type, the keys match those found in the corresponding resource bundles.
IMessageConveyor - Interface in ch.qos.cal10n
Retrieve a message by its code as specified by an enum.

L

loadClass(String) - Method in class ch.qos.cal10n.plugins.ThisFirstClassLoader
 
loadClass(String, boolean) - Method in class ch.qos.cal10n.plugins.ThisFirstClassLoader
We override the parent-first behavior established by java.lang.Classloader.
LocaleNames - Annotation Type in ch.qos.cal10n
This annotation serves to designate a list of locale names for which resource bundles exist.

M

MessageCodeVerifier - Class in ch.qos.cal10n.verifier
Given an enum class, verify that the resource bundles corresponding to a given locale contains the correct codes.
MessageCodeVerifier(Class<? extends Enum<?>>) - Constructor for class ch.qos.cal10n.verifier.MessageCodeVerifier
 
MessageCodeVerifier(String) - Constructor for class ch.qos.cal10n.verifier.MessageCodeVerifier
 
MessageCodeVerifier_FQCN - Static variable in class ch.qos.cal10n.Cal10nConstants
 
MessageConveyor - Class in ch.qos.cal10n
The default implementation for IMessageConveyor based on resource bundles.
MessageConveyor(Locale) - Constructor for class ch.qos.cal10n.MessageConveyor
The Locale associated with this instance.
MISSING_RB_ANNOTATION_URL - Static variable in class ch.qos.cal10n.Cal10nConstants
 

R

ResourceBundleName - Annotation Type in ch.qos.cal10n
This annotation serves to designate the name of the resource bundle corresponding to an enum type.

T

ThisFirstClassLoader - Class in ch.qos.cal10n.plugins
An almost trivial no fuss implementation of a class loader following the child-first delegation model.
ThisFirstClassLoader(URL[]) - Constructor for class ch.qos.cal10n.plugins.ThisFirstClassLoader
 
ThisFirstClassLoader(URL[], ClassLoader) - Constructor for class ch.qos.cal10n.plugins.ThisFirstClassLoader
 
toString() - Method in class ch.qos.cal10n.verifier.Cal10nError
 
typeIsolatedVerify(Locale) - Method in interface ch.qos.cal10n.verifier.IMessageCodeVerifier
Same as IMessageCodeVerifier.verify(Locale) except that the return type is List.
typeIsolatedVerify(Locale) - Method in class ch.qos.cal10n.verifier.MessageCodeVerifier
 

V

valueOf(String) - Static method in enum ch.qos.cal10n.smoke.Countries
Returns the enum constant of this type with the specified name.
values() - Static method in enum ch.qos.cal10n.smoke.Countries
Returns an array containing the constants of this enum type, in the order they are declared.
verify(Locale) - Method in interface ch.qos.cal10n.verifier.IMessageCodeVerifier
Verify that the keys defined in the enumClass match those found in the resource bundle corresponding to a certain locale
verify(Locale) - Method in class ch.qos.cal10n.verifier.MessageCodeVerifier
 
verifyAllLocales() - Method in interface ch.qos.cal10n.verifier.IMessageCodeVerifier
Verify that the keys defined in the enumClass match those found in the corresponding resource bundle for all locales declared in the enum type via the @LocaleNames annotation.
verifyAllLocales() - Method in class ch.qos.cal10n.verifier.MessageCodeVerifier
Verify all declared locales in one step.
VerifyMojo - Class in ch.qos.cal10n.plugins
Verifies resources bundles in various locales against an enumType
VerifyMojo() - Constructor for class ch.qos.cal10n.plugins.VerifyMojo
 

A C E G I L M R T V

Copyright © 2009 QOS.ch. All Rights Reserved.