Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

Constructor Summary
`CasePreservingResolver()`
`CasePreservingResolver(String extension)`

Method Summary
`protected String` | `resolveName(Class<? extends Embeddable> embeddableClass)`

Methods inherited from class org.jbehave.core.io.AbstractStoryPathResolver
`resolve, resolveDirectory`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### CasePreservingResolver

    public CasePreservingResolver()

### CasePreservingResolver

    public CasePreservingResolver(String extension)

Method Detail

### resolveName

    protected String resolveName(Class<? extends Embeddable> embeddableClass)

  Specified by:
    `resolveName` in class `AbstractStoryPathResolver`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2013. All Rights Reserved.