Class ValidateUtil

java.lang.Object
cn.net.pap.common.jsonorm.util.ValidateUtil

public class ValidateUtil extends Object
  • Field Details

  • Constructor Details

    • ValidateUtil

      public ValidateUtil()
  • Method Details

    • validate

      public static boolean validate(String str, String pattern)
    • isEmail

      public static boolean isEmail(String email)
    • isNotEmail

      public static boolean isNotEmail(String email)
    • isChinese

      public static boolean isChinese(String chineseStr)
    • isNotChinese

      public static boolean isNotChinese(String chineseStr)
    • isNumberLetter

      public static boolean isNumberLetter(String str)
    • isNotNumberLetter

      public static boolean isNotNumberLetter(String str)
    • isQq

      public static boolean isQq(String qq)
    • isNumber

      public static boolean isNumber(String str)
    • isNotNumber

      public static boolean isNotNumber(String str)
    • isLetter

      public static boolean isLetter(String str)
    • isZipCode

      public static boolean isZipCode(String zipCode)
    • isPhone

      public static boolean isPhone(String phone)
    • isNotPhone

      public static boolean isNotPhone(String phone)
    • isTelephone

      public static boolean isTelephone(String phoneNumber)
    • isNotTelephone

      public static boolean isNotTelephone(String phoneNumber)
    • isIdCard

      public static boolean isIdCard(String cardNumber)
    • isNotIdCard

      public static boolean isNotIdCard(String cardNumber)
    • isUserName

      public static boolean isUserName(String str)
    • isPassword

      public static boolean isPassword(String str)
    • isNonNegativeInteger

      public static boolean isNonNegativeInteger(String str)
    • isUuid

      public static boolean isUuid(String str)
    • isNotUuid

      public static boolean isNotUuid(String str)
    • isDate

      public static boolean isDate(String date)
    • isNotDate

      public static boolean isNotDate(String date)
    • isTimestamp

      public static boolean isTimestamp(String date)
    • isNotTimestamp

      public static boolean isNotTimestamp(String date)
    • isIP

      public static boolean isIP(String ip)
    • isNotIP

      public static boolean isNotIP(String ip)
    • isUrl

      public static boolean isUrl(String url)
    • isNotUrl

      public static boolean isNotUrl(String url)
    • isDomain

      public static boolean isDomain(String domain)
    • isNotDomain

      public static boolean isNotDomain(String domain)
    • isIntOrFloat

      public static boolean isIntOrFloat(String number)
    • isNotIntOrFloat

      public static boolean isNotIntOrFloat(String number)
    • isFloat

      public static boolean isFloat(String number)
    • isNotFloat

      public static boolean isNotFloat(String number)
    • isNegativeFloat

      public static boolean isNegativeFloat(String number)
    • isNotNegativeFloat

      public static boolean isNotNegativeFloat(String number)
    • isPositiveFloat

      public static boolean isPositiveFloat(String number)
    • isNotPositiveFloat

      public static boolean isNotPositiveFloat(String number)
    • isPositiveInteger

      public static boolean isPositiveInteger(String number)
    • isYear

      public static boolean isYear(String yearNumber)
    • isNotYear

      public static boolean isNotYear(String yearNumber)
    • isTime

      public static boolean isTime(String time)
    • isNotTime

      public static boolean isNotTime(String time)
    • isContainsChinese

      public static boolean isContainsChinese(String str)
    • isGitUrl

      public static boolean isGitUrl(String gitUrl)
    • isEmpty

      public static boolean isEmpty(String str)
    • isNotEmpty

      public static boolean isNotEmpty(String str)