org.jbehave.core.parser
Class StoryLocation

java.lang.Object
  extended by 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)
           
 
Method Summary
 java.net.URL getCodeLocation()
           
 java.lang.String getLocation()
           
 java.lang.String getName()
           
 java.lang.String getPath()
           
 boolean isURL()
           
 java.lang.String storyURL()
           
 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.lang.String storyPath,
                     java.lang.Class<?> codeLocationClass)
Method Detail

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.