org.jbehave.core.parser
Class StoryLocation

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

public class StoryLocation
extends Object

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


Constructor Summary
StoryLocation(String storyPath)
           
StoryLocation(String storyPath, Class<?> codeLocationClass)
           
 
Method Summary
 String getCodeLocation()
           
 String getLocation()
           
 String getName()
           
 String getPath()
           
 boolean isURL()
           
 String storyURL()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StoryLocation

public StoryLocation(String storyPath)

StoryLocation

public StoryLocation(String storyPath,
                     Class<?> codeLocationClass)
Method Detail

getPath

public String getPath()

getCodeLocation

public String getCodeLocation()

getLocation

public String getLocation()

getName

public String getName()

storyURL

public String storyURL()

isURL

public boolean isURL()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2010. All Rights Reserved.