|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbehave.core.configuration.Keywords
org.jbehave.core.i18n.LocalizedKeywords
public class LocalizedKeywords
Adds i18n support to Keywords, allowing to read the keywords from resource bundles for a given locale.
| Nested Class Summary | |
|---|---|
static class |
LocalizedKeywords.LocalizedKeywordNotFound
|
static class |
LocalizedKeywords.ResourceBundleNotFound
|
| Nested classes/interfaces inherited from class org.jbehave.core.configuration.Keywords |
|---|
Keywords.KeywordNotFound, Keywords.StartingWordNotFound |
| Field Summary |
|---|
| Fields inherited from class org.jbehave.core.configuration.Keywords |
|---|
AND, AS_A, DRY_RUN, EXAMPLES_TABLE, EXAMPLES_TABLE_HEADER_SEPARATOR, EXAMPLES_TABLE_IGNORABLE_SEPARATOR, EXAMPLES_TABLE_ROW, EXAMPLES_TABLE_VALUE_SEPARATOR, FAILED, GIVEN, GIVEN_STORIES, I_WANT_TO, IGNORABLE, IN_ORDER_TO, KEYWORDS, META, META_PROPERTY, NARRATIVE, NOT_PERFORMED, PENDING, SCENARIO, THEN, WHEN |
| Constructor Summary | |
|---|---|
LocalizedKeywords()
|
|
LocalizedKeywords(java.util.Locale locale)
|
|
LocalizedKeywords(java.util.Locale locale,
java.lang.String bundleName,
java.lang.ClassLoader classLoader)
|
|
| Method Summary | |
|---|---|
java.util.Locale |
getLocale()
|
| Methods inherited from class org.jbehave.core.configuration.Keywords |
|---|
and, asA, defaultKeywords, dryRun, examplesTable, examplesTableHeaderSeparator, examplesTableIgnorableSeparator, examplesTableRow, examplesTableValueSeparator, failed, given, givenStories, ignorable, inOrderTo, isAndStep, isIgnorableStep, iWantTo, meta, metaProperty, narrative, notPerformed, pending, scenario, startingWord, startingWord, startingWordFor, startingWords, startingWordsByType, stepStartsWithWord, stepTypeFor, stepWithoutStartingWord, then, toString, when |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LocalizedKeywords()
public LocalizedKeywords(java.util.Locale locale)
public LocalizedKeywords(java.util.Locale locale,
java.lang.String bundleName,
java.lang.ClassLoader classLoader)
| Method Detail |
|---|
public java.util.Locale getLocale()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||