public class MessageKeyVerifier extends Object implements IMessageKeyVerifier
| Constructor and Description |
|---|
MessageKeyVerifier(Class<? extends Enum<?>> enumClass) |
MessageKeyVerifier(String enumTypeAsStr) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseName()
Get the base name for the resource bundle family as specified in the enumType (via
annotations)
|
Class<? extends Enum<?>> |
getEnumType()
Get the of enum type that this verifier is related to to.
|
String |
getEnumTypeAsStr()
Get the name of enum type to this verifier is related to to.
|
String[] |
getLocaleNames()
Get the locales specified in the enumType (via annotations)
|
List<String> |
typeIsolatedVerify(Locale locale)
Same as
IMessageKeyVerifier.verify(Locale) except that the return type is
List |
List<Cal10nError> |
verify(Locale locale)
Verify that the keys defined in the enumClass match those found in the
resource bundle corresponding to a certain locale
|
List<Cal10nError> |
verifyAllLocales()
Verify all declared locales in one step.
|
public MessageKeyVerifier(String enumTypeAsStr)
public Class<? extends Enum<?>> getEnumType()
IMessageKeyVerifiergetEnumType in interface IMessageKeyVerifierpublic String getEnumTypeAsStr()
IMessageKeyVerifiergetEnumTypeAsStr in interface IMessageKeyVerifierpublic List<Cal10nError> verify(Locale locale)
IMessageKeyVerifierverify in interface IMessageKeyVerifierpublic List<String> typeIsolatedVerify(Locale locale)
IMessageKeyVerifierIMessageKeyVerifier.verify(Locale) except that the return type is
ListtypeIsolatedVerify in interface IMessageKeyVerifierpublic List<Cal10nError> verifyAllLocales()
verifyAllLocales in interface IMessageKeyVerifierpublic String[] getLocaleNames()
IMessageKeyVerifiergetLocaleNames in interface IMessageKeyVerifierpublic String getBaseName()
IMessageKeyVerifiergetBaseName in interface IMessageKeyVerifierCopyright © 2009-2013 QOS.ch. All Rights Reserved.