public class RegexStoryParser extends java.lang.Object implements StoryParser
Story.| Constructor and Description |
|---|
RegexStoryParser() |
RegexStoryParser(ExamplesTableFactory tableFactory) |
RegexStoryParser(Keywords keywords) |
RegexStoryParser(Keywords keywords,
ExamplesTableFactory tableFactory) |
| Modifier and Type | Method and Description |
|---|---|
Story |
parseStory(java.lang.String storyAsText)
Parses story from its textual representation
|
Story |
parseStory(java.lang.String storyAsText,
java.lang.String storyPath)
Parses story from its textual representation and (optional) story path
|
public RegexStoryParser()
public RegexStoryParser(Keywords keywords)
public RegexStoryParser(ExamplesTableFactory tableFactory)
public RegexStoryParser(Keywords keywords, ExamplesTableFactory tableFactory)
public Story parseStory(java.lang.String storyAsText)
StoryParserparseStory in interface StoryParserstoryAsText - the textual representationpublic Story parseStory(java.lang.String storyAsText, java.lang.String storyPath)
StoryParserparseStory in interface StoryParserstoryAsText - the textual representationstoryPath - the story path, may be nullCopyright © 2003-2014. All Rights Reserved.