org.jbehave.core.io
Class LoadFromClasspath

java.lang.Object
  extended by org.jbehave.core.io.LoadFromClasspath
All Implemented Interfaces:
StoryLoader

public class LoadFromClasspath
extends Object
implements StoryLoader

Loads story content from classpath resources.


Constructor Summary
LoadFromClasspath()
           
LoadFromClasspath(Class<?> loadFromClass)
           
LoadFromClasspath(ClassLoader classLoader)
           
 
Method Summary
 String loadStoryAsText(String storyPath)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoadFromClasspath

public LoadFromClasspath()

LoadFromClasspath

public LoadFromClasspath(Class<?> loadFromClass)

LoadFromClasspath

public LoadFromClasspath(ClassLoader classLoader)
Method Detail

loadStoryAsText

public String loadStoryAsText(String storyPath)
Specified by:
loadStoryAsText in interface StoryLoader

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2010. All Rights Reserved.