Class 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".