Package org.jbehave.core.io
Class CasePreservingResolver
java.lang.Object
org.jbehave.core.io.AbstractStoryPathResolver
org.jbehave.core.io.CasePreservingResolver
- All Implemented Interfaces:
StoryPathResolver
Resolves story paths while preserving the Java class case, e.g.: "org.jbehave.core.ICanLogin.java" -> "org/jbehave/core/ICanLogin.story".
By default, the AbstractStoryPathResolver.DEFAULT_EXTENSION
is used
but this can be configured via the constructor so that we can resolve class
to use another or no extension at all, e.g.: "org/jbehave/core/ICanLogin".
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
resolveName
(Class<? extends Embeddable> embeddableClass) Methods inherited from class org.jbehave.core.io.AbstractStoryPathResolver
resolve, resolveDirectory
-
Constructor Details
-
CasePreservingResolver
public CasePreservingResolver() -
CasePreservingResolver
-
-
Method Details
-
resolveName
- Specified by:
resolveName
in classAbstractStoryPathResolver
-