org.sakaiproject.poll.util
Class PollUtils

java.lang.Object
  extended by org.sakaiproject.poll.util.PollUtils

public class PollUtils
extends Object


Field Summary
static String ENDING_P_SPACE_TAGS
           
static String ENDING_P_TAG
           
static String STARTING_P_TAG
           
 
Constructor Summary
PollUtils()
           
 
Method Summary
static String cleanupHtmlPtags(String cleanup)
          Attempts to remove all unnecessary P tags from html strings
static boolean isValidEmail(String email)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENDING_P_SPACE_TAGS

public static String ENDING_P_SPACE_TAGS

STARTING_P_TAG

public static String STARTING_P_TAG

ENDING_P_TAG

public static String ENDING_P_TAG
Constructor Detail

PollUtils

public PollUtils()
Method Detail

cleanupHtmlPtags

public static String cleanupHtmlPtags(String cleanup)
Attempts to remove all unnecessary P tags from html strings

Parameters:
cleanup - an html string to cleanup
Returns:
the cleaned up string

isValidEmail

public static boolean isValidEmail(String email)


Copyright © 2003-2012 Sakai Project. All Rights Reserved.