public class StoryLocation
extends 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:
getURL()
: the story location URL, prefixing the code location external form if story path is not a
URL
getPath()
: the story location path, removing the code location external form if story path is a URL
-
Constructor Summary
Constructors
-
Method Summary
-
Constructor Details
-
StoryLocation
public StoryLocation(URL codeLocation,
String storyPath)
-
Method Details
-
getCodeLocation
public URL getCodeLocation()
-
-
-
-