org.jbehave.core.parser
Class URLStoryDefiner

java.lang.Object
  extended by org.jbehave.core.parser.URLStoryDefiner
All Implemented Interfaces:
StoryDefiner

public class URLStoryDefiner
extends Object
implements StoryDefiner

Defines stories by loading the content from URL resources and passing it to the StoryParser.


Nested Class Summary
static class URLStoryDefiner.URLStoryLoader
           
 
Constructor Summary
URLStoryDefiner()
           
URLStoryDefiner(StoryParser parser)
           
URLStoryDefiner(StoryParser parser, URLStoryDefiner.URLStoryLoader storyLoader)
           
 
Method Summary
 Story defineStory(String storyPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLStoryDefiner

public URLStoryDefiner()

URLStoryDefiner

public URLStoryDefiner(StoryParser parser)

URLStoryDefiner

public URLStoryDefiner(StoryParser parser,
                       URLStoryDefiner.URLStoryLoader storyLoader)
Method Detail

defineStory

public Story defineStory(String storyPath)
Specified by:
defineStory in interface StoryDefiner


Copyright © 2003-2010. All Rights Reserved.