@ParametersAreNonnullByDefault public interface ResourceLoader
Modifier and Type | Method and Description |
---|---|
io.atlassian.fugue.Option<URL> |
getResource(com.atlassian.plugin.Plugin plugin,
String resourcePath)
Opens URL to given resource from plugin.
|
io.atlassian.fugue.Option<URL> |
getResource(String resourcePath)
Opens URL to given resource from JIRA Core.
|
io.atlassian.fugue.Option<InputStream> |
getResourceAsStream(com.atlassian.plugin.Plugin plugin,
String resourcePath)
Opens stream to given resource from plugin.
|
io.atlassian.fugue.Option<InputStream> |
getResourceAsStream(String resourcePath)
Opens stream to given resource from JIRA Core.
|
io.atlassian.fugue.Option<InputStream> getResourceAsStream(String resourcePath)
Class.getResourceAsStream(String)
for exact
semantics.resourcePath
- path to resourceio.atlassian.fugue.Option<URL> getResource(String resourcePath)
Class.getResource(String)
for exact semantics.resourcePath
- path to resourceio.atlassian.fugue.Option<InputStream> getResourceAsStream(com.atlassian.plugin.Plugin plugin, String resourcePath)
Class.getResourceAsStream(String)
for exact semantics.resourcePath
- path to resourceio.atlassian.fugue.Option<URL> getResource(com.atlassian.plugin.Plugin plugin, String resourcePath)
Class.getResource(String)
for exact semantics.resourcePath
- path to resourceCopyright © 2002-2019 Atlassian. All Rights Reserved.