org.apache.jetspeed.components.portletregistry
Class PortletRegistryHelper

java.lang.Object
  extended by org.apache.jetspeed.components.portletregistry.PortletRegistryHelper

public class PortletRegistryHelper
extends Object

Helper class for the portlet registry.

Author:
David Le Strat

Constructor Summary
PortletRegistryHelper()
           
 
Method Summary
static String parseAppName(String uniqueName)
          Parses the portlet application name from the portlet unique name.
static String parsePortletName(String uniqueName)
          Parses the portlet name from the portlet unique name.
private static int splitUniqueName(String uniqueName)
          Utility method to split the unique name given the PORTLET_UNIQUE_NAME_SEPARATOR.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletRegistryHelper

public PortletRegistryHelper()
Method Detail

parseAppName

public static String parseAppName(String uniqueName)

Parses the portlet application name from the portlet unique name.

Parameters:
uniqueName - The portlet unique name.

parsePortletName

public static String parsePortletName(String uniqueName)

Parses the portlet name from the portlet unique name.

Parameters:
uniqueName - The portlet unique name.

splitUniqueName

private static int splitUniqueName(String uniqueName)

Utility method to split the unique name given the PORTLET_UNIQUE_NAME_SEPARATOR.

Parameters:
uniqueName -
Returns:


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.