|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugin.util.resource.AlternativePluginResourceLoader
public final class AlternativePluginResourceLoader
Loads resources from the plugin.
| Constructor Summary | |
|---|---|
AlternativePluginResourceLoader(Plugin plugin)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlternativePluginResourceLoader(Plugin plugin)
| Method Detail |
|---|
public java.net.URL getResource(java.lang.String path)
AlternativeResourceLoader
getResource in interface AlternativeResourceLoaderpath - the name of the resource to be loaded
public java.io.InputStream getResourceAsStream(java.lang.String name)
AlternativeResourceLoader
getResourceAsStream in interface AlternativeResourceLoadername - The name of the resource to be loaded.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||