public interface GadgetDeclaration
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthor() |
String |
getCategory() |
String |
getDescription() |
boolean |
getDisabled() |
URL |
getGadgetDefinition() |
org.apache.shindig.gadgets.spec.GadgetSpec |
getGadgetSpec() |
String |
getIconUrl() |
String |
getName() |
String |
getPublicGadgetDefinition()
Returns the public URL of the gadget spec.
|
URL |
getResource(String resourcePath) |
InputStream |
getResourceAsStream(String resourcePath) |
String |
getScreenshot() |
String |
getThumbnail() |
String |
getTitle() |
String |
getTitle(Locale locale)
Try to find an internationalized title for this gadget.
|
boolean |
isExternal() |
String getName()
boolean getDisabled()
String getCategory()
String getIconUrl()
InputStream getResourceAsStream(String resourcePath) throws IOException
IOExceptionURL getGadgetDefinition() throws MalformedURLException
MalformedURLExceptionString getPublicGadgetDefinition() throws MalformedURLException
MalformedURLExceptionboolean isExternal()
String getDescription()
org.apache.shindig.gadgets.spec.GadgetSpec getGadgetSpec()
String getTitle()
String getTitle(Locale locale)
The label key is "label.gadget." + gadgetName.
String getAuthor()
String getScreenshot()
String getThumbnail()
URL getResource(String resourcePath) throws IOException
IOExceptionCopyright © 2011 Nuxeo SA. All Rights Reserved.