org.nuxeo.opensocial.gadgets.service
Class ExternalGadgetDescriptor
java.lang.Object
org.nuxeo.opensocial.gadgets.service.ExternalGadgetDescriptor
- All Implemented Interfaces:
- GadgetDeclaration
public class ExternalGadgetDescriptor
- extends java.lang.Object
- implements GadgetDeclaration
Constructor Summary |
ExternalGadgetDescriptor(java.lang.String category,
boolean disabled,
java.net.URL gadgetDefinition,
java.lang.String iconURL,
java.lang.String name)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExternalGadgetDescriptor
public ExternalGadgetDescriptor(java.lang.String category,
boolean disabled,
java.net.URL gadgetDefinition,
java.lang.String iconURL,
java.lang.String name)
getCategory
public java.lang.String getCategory()
- Specified by:
getCategory
in interface GadgetDeclaration
getDisabled
public boolean getDisabled()
- Specified by:
getDisabled
in interface GadgetDeclaration
getGadgetDefinition
public java.net.URL getGadgetDefinition()
throws java.net.MalformedURLException
- Specified by:
getGadgetDefinition
in interface GadgetDeclaration
- Throws:
java.net.MalformedURLException
getIconUrl
public java.lang.String getIconUrl()
- Specified by:
getIconUrl
in interface GadgetDeclaration
getName
public java.lang.String getName()
- Specified by:
getName
in interface GadgetDeclaration
getResourceAsStream
public java.io.InputStream getResourceAsStream(java.lang.String resourcePath)
throws java.io.IOException
- Specified by:
getResourceAsStream
in interface GadgetDeclaration
- Throws:
java.io.IOException
Copyright © 2010 Nuxeo SAS. All Rights Reserved.