ch.qos.cal10n.verifier
Class MessageKeyVerifier

java.lang.Object
  extended by ch.qos.cal10n.verifier.AbstractMessageKeyVerifier
      extended by ch.qos.cal10n.verifier.MessageKeyVerifier
All Implemented Interfaces:
IMessageKeyVerifier

public class MessageKeyVerifier
extends AbstractMessageKeyVerifier

Given an enum class, verify that the resource bundles corresponding to a given locale contains the correct keys.

Author:
Ceki Gulcu

Constructor Summary
MessageKeyVerifier(Class<? extends Enum<?>> enumClass)
           
MessageKeyVerifier(String enumTypeAsStr)
           
 
Method Summary
protected  List<String> extractKeysInEnum()
           
protected  CAL10NBundleFinder getResourceBundleFinder()
           
 
Methods inherited from class ch.qos.cal10n.verifier.AbstractMessageKeyVerifier
buildKeySetFromEnumeration, extractCharsetForLocale, getBaseName, getEnumTypeAsStr, getLocaleNames, typeIsolatedVerify, verify, verifyAllLocales
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageKeyVerifier

public MessageKeyVerifier(Class<? extends Enum<?>> enumClass)

MessageKeyVerifier

public MessageKeyVerifier(String enumTypeAsStr)
Method Detail

extractKeysInEnum

protected List<String> extractKeysInEnum()
Specified by:
extractKeysInEnum in class AbstractMessageKeyVerifier

getResourceBundleFinder

protected CAL10NBundleFinder getResourceBundleFinder()
Specified by:
getResourceBundleFinder in class AbstractMessageKeyVerifier


Copyright © 2009-2013 QOS.ch. All Rights Reserved.