|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbehave.core.io.CodeLocations
public class CodeLocations
Collection of utility methods to create code location URLs
Nested Class Summary | |
---|---|
static class |
CodeLocations.InvalidCodeLocation
|
Constructor Summary | |
---|---|
CodeLocations()
|
Method Summary | |
---|---|
static java.net.URL |
codeLocationFromClass(java.lang.Class<?> codeLocationClass)
Creates a code location URL from a class |
static java.net.URL |
codeLocationFromPath(java.lang.String filePath)
Creates a code location URL from a file path |
static java.net.URL |
codeLocationFromURL(java.lang.String url)
Creates a code location URL from a URL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CodeLocations()
Method Detail |
---|
public static java.net.URL codeLocationFromClass(java.lang.Class<?> codeLocationClass)
codeLocationClass
- the class
CodeLocations.InvalidCodeLocation
- if URL creation failspublic static java.net.URL codeLocationFromPath(java.lang.String filePath)
filePath
- the file path
CodeLocations.InvalidCodeLocation
- if URL creation failspublic static java.net.URL codeLocationFromURL(java.lang.String url)
url
- the URL external form
CodeLocations.InvalidCodeLocation
- if URL creation fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |