org.jbehave.core.io
Class LoadFromURL
java.lang.Object
org.jbehave.core.io.LoadFromURL
- All Implemented Interfaces:
- ResourceLoader, StoryLoader
public class LoadFromURL
- extends Object
- implements ResourceLoader, StoryLoader
Loads story resources from URL
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoadFromURL
public LoadFromURL()
loadResourceAsText
public String loadResourceAsText(String resourcePath)
- Specified by:
loadResourceAsText
in interface ResourceLoader
loadStoryAsText
public String loadStoryAsText(String storyPath)
- Specified by:
loadStoryAsText
in interface StoryLoader
resourceAsStream
protected InputStream resourceAsStream(String resourcePath)
throws IOException
- Throws:
IOException
Copyright © 2003-2012. All Rights Reserved.