org.dlese.dpc.schemedit.test
Class PatternTester
java.lang.Object
org.dlese.dpc.schemedit.test.PatternTester
public class PatternTester
- extends Object
Class for testing pattern matching and regular expressinos
- Author:
- ostwald
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FINAL_STATUS_TEMPLATE
public static String FINAL_STATUS_TEMPLATE
FINAL_STATUS_PATTERN
public static Pattern FINAL_STATUS_PATTERN
PatternTester
public PatternTester()
getElementText
public static String getElementText(Element e)
isValidUrl
public static boolean isValidUrl(String s)
makeFinalStatusValue
public static String makeFinalStatusValue(String collection)
getCollection
public static String getCollection(String statusValue)
isFinalStatusValue
public static boolean isFinalStatusValue(String s)
isValidEmail
public static boolean isValidEmail(String s)
- validate emails for the suggestor app.
MUST have on and only one "@"
must not end in Period
main
public static void main(String[] args)