org.exoplatform.poll
Class Utils
java.lang.Object
org.exoplatform.poll.Utils
public class Utils
- extends Object
|
Constructor Summary |
Utils()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POLL
public static final String POLL
POLL_ID_SHOW
public static final String POLL_ID_SHOW
MAXSIGNATURE
public static final int MAXSIGNATURE
- See Also:
- Constant Field Values
MAXTITLE
public static final int MAXTITLE
- See Also:
- Constant Field Values
MAXMESSAGE
public static final long MAXMESSAGE
- See Also:
- Constant Field Values
Utils
public Utils()
getFormatDate
public static String getFormatDate(String format,
Date myDate)
isValidEmailAddresses
public static boolean isValidEmailAddresses(String addressList)
throws Exception
- Throws:
Exception
isEmpty
public static boolean isEmpty(String str)
removeZeroFirstNumber
public static String removeZeroFirstNumber(String str)
getSubString
public static String getSubString(String str,
int max)
getColor
public static String[] getColor()
getExpire
public static String getExpire(long timeOut,
Date modifiDate,
String[] dateUnit)
Copyright © 2003–2014 eXo Platform SAS. All rights reserved.