Package org.jbehave.core.parsers
Interface StoryParser
- All Known Implementing Classes:
RegexStoryParser
,TransformingStoryParser
public interface StoryParser
Parses the stories contained in a story from a textual representation.
-
Method Summary
Modifier and TypeMethodDescriptionparseStory
(String storyAsText) Parses story from its textual representationparseStory
(String storyAsText, String storyPath) Parses story from its textual representation and (optional) story path
-
Method Details
-
parseStory
Parses story from its textual representation- Parameters:
storyAsText
- the textual representation- Returns:
- The Story
-
parseStory
Parses story from its textual representation and (optional) story path- Parameters:
storyAsText
- the textual representationstoryPath
- the story path, may benull
- Returns:
- The Story
- Since:
- 2.4
-