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 java.lang.Object
implements ResourceLoader, StoryLoader

Loads story resources from URL


Constructor Summary
LoadFromURL()
           
 
Method Summary
 java.lang.String loadResourceAsText(java.lang.String resourcePath)
           
 java.lang.String loadStoryAsText(java.lang.String storyPath)
           
protected  java.io.InputStream resourceAsStream(java.lang.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 java.lang.String loadResourceAsText(java.lang.String resourcePath)
Specified by:
loadResourceAsText in interface ResourceLoader

loadStoryAsText

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

resourceAsStream

protected java.io.InputStream resourceAsStream(java.lang.String resourcePath)
                                        throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2003-2012. All Rights Reserved.