public interface GadgetDeclaration
Modifier and Type | Method and Description |
---|---|
String |
getAuthor() |
String |
getCategory() |
String |
getDescription() |
String |
getDescription(Locale locale)
Try to find an localized description for this gadet
|
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
IOException
URL getGadgetDefinition() throws MalformedURLException
MalformedURLException
String getPublicGadgetDefinition() throws MalformedURLException
MalformedURLException
boolean isExternal()
String getDescription()
org.apache.shindig.gadgets.spec.GadgetSpec getGadgetSpec()
String getTitle()
String getTitle(Locale locale)
The label key is "label.gadget." + gadgetName.
String getDescription(Locale locale)
The label key is "label.gadget." + gadgetName + ".description"
String getAuthor()
String getScreenshot()
String getThumbnail()
URL getResource(String resourcePath) throws IOException
IOException
Copyright © 2013 Nuxeo SA. All Rights Reserved.