|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Plugin
Method Summary | |
---|---|
InputStream |
getStaticResource(String name)
Accesses a static resource of the plugin. |
boolean |
hasStaticResource(String name)
Checks if this plugin bundle contains a static resource with the given name. |
Method Detail |
---|
InputStream getStaticResource(String name)
name
- The resource name: a "/"-separated path name, relative to the plugin bundle's root directory.
It may or may not begin with "/" (it makes no difference).
RuntimeException
- If no such static resource is contained in the plugin bundle.boolean hasStaticResource(String name)
name
- The resource name: a "/"-separated path name, relative to the plugin bundle's root directory.
It may or may not begin with "/" (it makes no difference).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |