All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.fartherp.framework.common.constant.Constant Maven / Gradle / Ivy

/*
 * Copyright (c) 2017. CK. All rights reserved.
 */

package com.github.fartherp.framework.common.constant;

/**
 * A Constant of the framework-common module that record with manage ALL Constant message
 * Author: CK
 * Date: 2015/6/30.
 */
public class Constant {

    public static final String EMPTY = "";

    public static final String MAIL_SMTP_AUTH = "mail.smtp.auth";

    public static final String MAIL_SMTP_HOST = "mail.smtp.host";

    public static final String UTF_8 = "UTF-8";

    public static final String ISO_8859_1 = "iso-8859-1";

    public static final String GBK = "GBK";

    public static final String DEFAULT_DRIVE_NAME = "com.mysql.jdbc.Driver";

    public static final int DEFAULT_SCALE = 2;

    public static final String SEMICOLON_DELIMITER = ";";

    public static final String COMMA_DELIMITER = ",";

    public static final String DB_DEFAULT_DATE = "1970-01-01 00:00:00";

    public static final String DEFAULT_EMAIL_PATTTERN = "\\s*\\w+(?:\\.{0,1}[\\w-]+)*@[a-zA-Z0-9]+(?:[-.][a-zA-Z0-9]+)*\\.[a-zA-Z]+\\s*";

    public static final String DEFAULT_MOBILE_PATTERN = "((13[0-9])|(15[^4,\\D])|(18[0,5-9]))\\d{8}";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy