edu.whoi.ursa.argoDatabase.miscellaneous
Class StringFunctions

java.lang.Object
  extended by edu.whoi.ursa.argoDatabase.miscellaneous.StringFunctions

public class StringFunctions
extends java.lang.Object

Author:
Alexander K. Ekholm Misc. helper functions.

Constructor Summary
StringFunctions()
           
 
Method Summary
static java.lang.String capitalizeFirstLetters(java.lang.String string)
           
static java.lang.Process executeExternal(java.lang.String[] cmdarray)
           
static java.lang.Boolean isValidEmail(java.lang.String anEmail)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringFunctions

public StringFunctions()
Method Detail

executeExternal

public static java.lang.Process executeExternal(java.lang.String[] cmdarray)

capitalizeFirstLetters

public static java.lang.String capitalizeFirstLetters(java.lang.String string)
Parameters:
string -
Returns:
string with the first letter of each word capitalized. All subsequent letters are lower case. All non alphanumeric characters are removed.

isValidEmail

public static java.lang.Boolean isValidEmail(java.lang.String anEmail)