public final class AlternativeClassLoaderResourceLoader extends Object implements AlternativeResourceLoader
| Constructor and Description |
|---|
AlternativeClassLoaderResourceLoader() |
AlternativeClassLoaderResourceLoader(Class<?> clazz) |
| Modifier and Type | Method and Description |
|---|---|
URL |
getResource(String path)
Retrieve the URL of the resource from the directories.
|
InputStream |
getResourceAsStream(String name)
Load a given resource from the directories.
|
public AlternativeClassLoaderResourceLoader()
public AlternativeClassLoaderResourceLoader(Class<?> clazz)
public URL getResource(String path)
AlternativeResourceLoadergetResource in interface AlternativeResourceLoaderpath - the name of the resource to be loadedpublic InputStream getResourceAsStream(String name)
AlternativeResourceLoadergetResourceAsStream in interface AlternativeResourceLoadername - The name of the resource to be loaded.Copyright © 2014 Atlassian. All rights reserved.