com.hoiio.jenkins.plugin
Class PhoneNumberValidator

java.lang.Object
  extended by com.hoiio.jenkins.plugin.PhoneNumberValidator

public class PhoneNumberValidator
extends Object


Method Summary
static String findNonDigitChars(String str)
           
static boolean hasInvalidChars(String phoneNumber)
           
static boolean validatePhoneNumber(String phoneNumber)
           
static boolean validatePhoneNumber(String phoneNumber, boolean skipLengthCheck)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

validatePhoneNumber

public static boolean validatePhoneNumber(String phoneNumber)

validatePhoneNumber

public static boolean validatePhoneNumber(String phoneNumber,
                                          boolean skipLengthCheck)

hasInvalidChars

public static boolean hasInvalidChars(String phoneNumber)

findNonDigitChars

public static String findNonDigitChars(String str)


Copyright © 2004-2013. All Rights Reserved.