public class RegexStoryParser extends Object implements StoryParser
Story
.Constructor and Description |
---|
RegexStoryParser() |
RegexStoryParser(Configuration configuration) |
RegexStoryParser(ExamplesTableFactory tableFactory) |
RegexStoryParser(Keywords keywords,
ExamplesTableFactory tableFactory) |
RegexStoryParser(Keywords keywords,
ResourceLoader resourceLoader,
TableTransformers tableTransformers) |
RegexStoryParser(ResourceLoader resourceLoader,
TableTransformers tableTransformers) |
Modifier and Type | Method and Description |
---|---|
Story |
parseStory(String storyAsText)
Parses story from its textual representation
|
Story |
parseStory(String storyAsText,
String storyPath)
Parses story from its textual representation and (optional) story path
|
public RegexStoryParser()
public RegexStoryParser(ResourceLoader resourceLoader, TableTransformers tableTransformers)
public RegexStoryParser(Keywords keywords, ResourceLoader resourceLoader, TableTransformers tableTransformers)
public RegexStoryParser(ExamplesTableFactory tableFactory)
public RegexStoryParser(Keywords keywords, ExamplesTableFactory tableFactory)
public RegexStoryParser(Configuration configuration)
public Story parseStory(String storyAsText)
StoryParser
parseStory
in interface StoryParser
storyAsText
- the textual representationpublic Story parseStory(String storyAsText, String storyPath)
StoryParser
parseStory
in interface StoryParser
storyAsText
- the textual representationstoryPath
- the story path, may be null
Copyright © 2003–2018. All rights reserved.