org.jbehave.core.io
Class StoryLocation

java.lang.Object
  extended by org.jbehave.core.io.StoryLocation

public class StoryLocation
extends Object

Abstraction of a story location, handling cases in which story path is defined as a resource in classpath or as a URL.

Given a code location URL and a story path, it provides the methods:


Constructor Summary
StoryLocation(URL codeLocation, String storyPath)
           
 
Method Summary
 URL getCodeLocation()
           
 String getPath()
           
 String getStoryPath()
           
 String getURL()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StoryLocation

public StoryLocation(URL codeLocation,
                     String storyPath)
Method Detail

getCodeLocation

public URL getCodeLocation()

getStoryPath

public String getStoryPath()

getURL

public String getURL()

getPath

public String getPath()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2011. All Rights Reserved.