org.jbehave.core.io
Class CasePreservingResolver
java.lang.Object
org.jbehave.core.io.AbstractStoryPathResolver
org.jbehave.core.io.CasePreservingResolver
- All Implemented Interfaces:
- StoryPathResolver
public class CasePreservingResolver
- extends AbstractStoryPathResolver
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".
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CasePreservingResolver
public CasePreservingResolver()
CasePreservingResolver
public CasePreservingResolver(String extension)
resolveName
protected String resolveName(Class<? extends Embeddable> embeddableClass)
- Specified by:
resolveName
in class AbstractStoryPathResolver
Copyright © 2003-2012. All Rights Reserved.