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()
IMessageKeyVerifier
getEnumType
in interface IMessageKeyVerifier
public String getEnumTypeAsStr()
IMessageKeyVerifier
getEnumTypeAsStr
in interface IMessageKeyVerifier
public List<Cal10nError> verify(Locale locale)
IMessageKeyVerifier
verify
in interface IMessageKeyVerifier
public List<String> typeIsolatedVerify(Locale locale)
IMessageKeyVerifier
IMessageKeyVerifier.verify(Locale)
except that the return type is
ListtypeIsolatedVerify
in interface IMessageKeyVerifier
public List<Cal10nError> verifyAllLocales()
verifyAllLocales
in interface IMessageKeyVerifier
public String[] getLocaleNames()
IMessageKeyVerifier
getLocaleNames
in interface IMessageKeyVerifier
public String getBaseName()
IMessageKeyVerifier
getBaseName
in interface IMessageKeyVerifier
Copyright © 2009-2016 QOS.ch. All Rights Reserved.