org.jbehave.core.io
Class StoryLocation

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

public class StoryLocation
extends java.lang.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(java.net.URL codeLocation, java.lang.String storyPath)
           
 
Method Summary
 java.net.URL getCodeLocation()
           
 java.lang.String getPath()
           
 java.lang.String getStoryPath()
           
 java.lang.String getURL()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StoryLocation

public StoryLocation(java.net.URL codeLocation,
                     java.lang.String storyPath)
Method Detail

getCodeLocation

public java.net.URL getCodeLocation()

getStoryPath

public java.lang.String getStoryPath()

getURL

public java.lang.String getURL()

getPath

public java.lang.String getPath()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2010. All Rights Reserved.