public class PortletDescriptor
extends java.lang.Object
| Constructor and Description |
|---|
PortletDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
static PortletDescriptor |
fromInputStream(java.io.InputStream portletXmlInputStream)
Create a new PortletDescriptor object using the supplied XML file.
|
java.lang.String |
getName() |
java.util.Set<java.lang.String> |
getPortletNames() |
java.lang.String |
getUniqueIdentifier() |
public static final PortletDescriptor fromInputStream(java.io.InputStream portletXmlInputStream) throws IllegalDescriptorFoundException
portletXmlInputStream - InputStream containing the XML file.IllegalDescriptorFoundException - Thrown if the descriptor is not valid.public java.lang.String getName()
public java.lang.String getUniqueIdentifier()
public java.util.Set<java.lang.String> getPortletNames()