com.liferay.portlet.tags.util
Class TagsUtil

java.lang.Object
  extended by com.liferay.portlet.tags.util.TagsUtil

public class TagsUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String[] ASSET_TYPE_CLASS_NAMES
           
static java.lang.String[] ASSET_TYPE_PORTLET_IDS
           
static char[] INVALID_CHARACTERS
           
 
Constructor Summary
TagsUtil()
           
 
Method Summary
static boolean isValidWord(java.lang.String word)
           
static java.lang.String substitutePropertyVariables(long companyId, java.lang.String entryName, java.lang.String s)
           
static java.lang.String toWord(java.lang.String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ASSET_TYPE_CLASS_NAMES

public static final java.lang.String[] ASSET_TYPE_CLASS_NAMES

ASSET_TYPE_PORTLET_IDS

public static final java.lang.String[] ASSET_TYPE_PORTLET_IDS

INVALID_CHARACTERS

public static char[] INVALID_CHARACTERS
Constructor Detail

TagsUtil

public TagsUtil()
Method Detail

isValidWord

public static boolean isValidWord(java.lang.String word)

substitutePropertyVariables

public static java.lang.String substitutePropertyVariables(long companyId,
                                                           java.lang.String entryName,
                                                           java.lang.String s)
                                                    throws com.liferay.portal.PortalException,
                                                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

toWord

public static java.lang.String toWord(java.lang.String text)