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 LoadFromClasspath

    java.lang.Object
      org.jbehave.core.io.LoadFromClasspath

All Implemented Interfaces:
  ResourceLoader, StoryLoader

    public class LoadFromClasspath

extends Object
implements ResourceLoader, StoryLoader

Loads story resources from classpath

Constructor Summary
`LoadFromClasspath()`
`LoadFromClasspath(Class<?> loadFromClass)`
`LoadFromClasspath(ClassLoader classLoader)`

Method Summary
`String` | `loadResourceAsText(String resourcePath)`
`String` | `loadStoryAsText(String storyPath)`
`protected InputStream` | `resourceAsStream(String resourcePath)`
`String` | `toString()`

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

Constructor Detail

### LoadFromClasspath

    public LoadFromClasspath()

### LoadFromClasspath

    public LoadFromClasspath(Class<?> loadFromClass)

### LoadFromClasspath

    public LoadFromClasspath(ClassLoader classLoader)

Method Detail

### loadResourceAsText

    public String loadResourceAsText(String resourcePath)

  Specified by:
    `loadResourceAsText` in interface `ResourceLoader`

### loadStoryAsText

    public String loadStoryAsText(String storyPath)

  Specified by:
    `loadStoryAsText` in interface `StoryLoader`

### resourceAsStream

    protected InputStream resourceAsStream(String resourcePath)

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

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.