Package org.jbehave.core.io

Interface Summary
StoryLoader  
StoryPathResolver Resolves story paths converting the Java Embeddable class to a resource path.
 

Class Summary
AbstractStoryPathResolver  
CasePreservingResolver Resolves story paths while preserving the Java class case, e.g.: "org.jbehave.core.ICanLogin.java" -> "org/jbehave/core/ICanLogin.story".
CodeLocations Collection of utility methods to create code location URLs
LoadFromClasspath Loads story content from classpath resources.
LoadFromRelativeFile Defaults to working from classes compiled to Maven-style 'target/test-classes', with story source in 'src/test/java' LoadFromRelativeFile loader = new LoadFromRelativeFile(codeLocationFromClass(YourStory.class)); To work with something other than the default story locations, you will have to specify them in the varargs constructor.
LoadFromRelativeFile.StoryFilePath For use the the varargs constructor of LoadFromRelativeFile, to allow a range of possibilities for locating Story file paths
LoadFromURL Loads story content from URLs
StoryFinder Finds stories by scanning file system.
StoryLocation Abstraction of a story location, handling cases in which story path is defined as a resource in classpath or as a URL.
UnderscoredCamelCaseResolver Resolves story paths converting the camel-cased Java core class to lower-case underscore-separated paths e.g.: "org.jbehave.core.ICanLogin.java" -> "org/jbehave/core/i_can_login.story".
 

Exception Summary
CodeLocations.InvalidCodeLocation  
InvalidStoryResource Thrown when a story resource is not valid
StoryResourceNotFound Thrown when a story resource is not found
 



Copyright © 2003-2010. All Rights Reserved.