org.jbehave.core.parsers
Interface StoryParser

All Known Implementing Classes:
RegexStoryParser

public interface StoryParser

Parses the stories contained in a story from a textual representation.


Method Summary
 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
 

Method Detail

parseStory

Story parseStory(String storyAsText)
Parses story from its textual representation

Parameters:
storyAsText - the textual representation
Returns:
The Story

parseStory

Story parseStory(String storyAsText,
                 String storyPath)
Parses story from its textual representation and (optional) story path

Parameters:
storyAsText - the textual representation
storyPath - the story path, may be null
Returns:
The Story
Since:
2.4


Copyright © 2003-2011. All Rights Reserved.