public class AlternativeDirectoryResourceLoader extends java.lang.Object implements AlternativeResourceLoader
plugin.resource.directories, which should
be a comma-delimited list of file paths that contain resources to load.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PLUGIN_RESOURCE_DIRECTORIES |
| Constructor and Description |
|---|
AlternativeDirectoryResourceLoader() |
| Modifier and Type | Method and Description |
|---|---|
java.net.URL |
getResource(java.lang.String path)
Retrieve the URL of the resource from the directories.
|
java.io.InputStream |
getResourceAsStream(java.lang.String name)
Load a given resource from the directories.
|
java.util.List<java.io.File> |
getResourceDirectories() |
public static final java.lang.String PLUGIN_RESOURCE_DIRECTORIES
public java.net.URL getResource(java.lang.String path)
getResource in interface AlternativeResourceLoaderpath - the name of the resource to be loadedpublic java.io.InputStream getResourceAsStream(java.lang.String name)
getResourceAsStream in interface AlternativeResourceLoadername - The name of the resource to be loaded.public java.util.List<java.io.File> getResourceDirectories()
Copyright © 2013 Atlassian. All Rights Reserved.