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 Type
    Method
    Description
    parseStory(String storyAsText)
    Parses story from its textual representation
    parseStory(String storyAsText, String storyPath)
    Parses story from its textual representation and (optional) story path
  • Method Details

    • 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