org.jbehave.core.parser
Class StoryLocation
java.lang.Object
org.jbehave.core.parser.StoryLocation
public class StoryLocation
- extends java.lang.Object
Abstraction of story location, handling cases in which story path is defined as URL or as resource in classpath.
Constructor Summary |
StoryLocation(java.lang.String storyPath,
java.lang.Class<?> codeLocationClass)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StoryLocation
public StoryLocation(java.lang.String storyPath,
java.lang.Class<?> codeLocationClass)
getPath
public java.lang.String getPath()
getCodeLocation
public java.net.URL getCodeLocation()
getLocation
public java.lang.String getLocation()
getName
public java.lang.String getName()
storyURL
public java.lang.String storyURL()
isURL
public boolean isURL()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2003-2010. All Rights Reserved.