org.jbehave.core.i18n
Class I18nKeyWords

java.lang.Object
  extended by org.jbehave.core.model.KeyWords
      extended by org.jbehave.core.i18n.I18nKeyWords

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.I18nKeywordNotFoundException
           
static class I18nKeyWords.ResourceBundleNotFoundException
           
 
Nested classes/interfaces inherited from class org.jbehave.core.model.KeyWords
KeyWords.InsufficientKeywordsException, KeyWords.KeywordNotFoundException
 
Field Summary
 
Fields inherited from class org.jbehave.core.model.KeyWords
AND, AS_A, EXAMPLES_TABLE, EXAMPLES_TABLE_HEADER_SEPARATOR, EXAMPLES_TABLE_ROW, EXAMPLES_TABLE_VALUE_SEPARATOR, FAILED, GIVEN, GIVEN_STORIES, I_WANT_TO, IGNORABLE, IN_ORDER_TO, KEYWORDS, NARRATIVE, NOT_PERFORMED, PENDING, SCENARIO, THEN, WHEN
 
Constructor Summary
I18nKeyWords()
           
I18nKeyWords(Locale locale)
           
I18nKeyWords(Locale locale, StringEncoder encoder)
           
I18nKeyWords(Locale locale, StringEncoder encoder, String bundleName)
           
I18nKeyWords(Locale locale, StringEncoder encoder, String bundleName, ClassLoader classLoader)
           
 
Method Summary
 
Methods inherited from class org.jbehave.core.model.KeyWords
and, asA, defaultKeywords, encode, examplesTable, examplesTableHeaderSeparator, examplesTableRow, examplesTableValueSeparator, failed, given, givenStories, ignorable, inOrderTo, iWantTo, narrative, 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(Locale locale)

I18nKeyWords

public I18nKeyWords(Locale locale,
                    StringEncoder encoder)

I18nKeyWords

public I18nKeyWords(Locale locale,
                    StringEncoder encoder,
                    String bundleName)

I18nKeyWords

public I18nKeyWords(Locale locale,
                    StringEncoder encoder,
                    String bundleName,
                    ClassLoader classLoader)


Copyright © 2003-2010. All Rights Reserved.