org.jbehave.core.io
Class LoadFromURL

java.lang.Object
  extended by org.jbehave.core.io.LoadFromURL
All Implemented Interfaces:
ResourceLoader, StoryLoader

public class LoadFromURL
extends Object
implements ResourceLoader, StoryLoader

Loads story resources from URL


Constructor Summary
LoadFromURL()
           
 
Method Summary
 String loadResourceAsText(String resourcePath)
           
 String loadStoryAsText(String storyPath)
           
protected  InputStream resourceAsStream(String resourcePath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadFromURL

public LoadFromURL()
Method Detail

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.