org.jbehave.core.parser
Class ClasspathStoryDefiner

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

public class ClasspathStoryDefiner
extends Object
implements StoryDefiner

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


Constructor Summary
ClasspathStoryDefiner()
           
ClasspathStoryDefiner(ClassLoader classLoader)
           
ClasspathStoryDefiner(StoryParser parser)
           
ClasspathStoryDefiner(StoryParser parser, ClassLoader classLoader)
           
 
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

ClasspathStoryDefiner

public ClasspathStoryDefiner()

ClasspathStoryDefiner

public ClasspathStoryDefiner(StoryParser parser)

ClasspathStoryDefiner

public ClasspathStoryDefiner(ClassLoader classLoader)

ClasspathStoryDefiner

public ClasspathStoryDefiner(StoryParser parser,
                             ClassLoader classLoader)
Method Detail

defineStory

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


Copyright © 2003-2010. All Rights Reserved.