org.jbehave.scenario.i18n
Class I18nKeyWords

java.lang.Object
  extended by org.jbehave.scenario.definition.KeyWords
      extended by org.jbehave.scenario.i18n.I18nKeyWords
Direct Known Subclasses:
ScenarioGivenWhenThenAnd

public class I18nKeyWords
extends KeyWords

Add i18n support to Keywords, allowing to read the keywords from resource bundles for a given locale.


Nested Class Summary
static class I18nKeyWords.KeywordNotFoundExcepion
           
static class I18nKeyWords.ResourceBundleNotFoundExcepion
           
 
Field Summary
 
Fields inherited from class org.jbehave.scenario.definition.KeyWords
KEYWORDS
 
Constructor Summary
I18nKeyWords()
           
I18nKeyWords(java.util.Locale locale)
           
I18nKeyWords(java.util.Locale locale, StringEncoder encoder)
           
I18nKeyWords(java.util.Locale locale, StringEncoder encoder, java.lang.String bundleName, java.lang.ClassLoader classLoader)
           
 
Method Summary
 
Methods inherited from class org.jbehave.scenario.definition.KeyWords
and, encode, examplesTable, examplesTableRow, failed, given, givenScenarios, notPerformed, others, pending, scenario, then, when
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

I18nKeyWords

public I18nKeyWords()

I18nKeyWords

public I18nKeyWords(java.util.Locale locale)

I18nKeyWords

public I18nKeyWords(java.util.Locale locale,
                    StringEncoder encoder)

I18nKeyWords

public I18nKeyWords(java.util.Locale locale,
                    StringEncoder encoder,
                    java.lang.String bundleName,
                    java.lang.ClassLoader classLoader)


Copyright © 2003-2009. All Rights Reserved.