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

com.cntool.core.component.StringPool Maven / Gradle / Ivy

The newest version!
package com.cntool.core.component;

/**
 * @program: cntool
 * @description: 字符串池
 * @author: ID-Tang
 * @create: 2022-03-04 11:50
 * @copyright: Copyright (c) [2022] [ID-tang]
 * [cntool] is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan PSL v2.
 * You may obtain a copy of Mulan PSL v2 at:
 * http://license.coscl.org.cn/MulanPSL2
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PSL v2 for more details.
 **/
public class StringPool {
    /**
     * 字符串 127.0.0.1
     */
    public static final String LOCAL_IP = "127.0.0.1";
    /**
     * 字符串 unknown
     */
    public static final String UN_KNOWN = "unknown";
    /**
     * 字符串 x-forwarded-for
     */
    public static final String X_FORWARDED_FOR = "x-forwarded-for";
    /**
     * 字符串 Proxy-Client-IP
     */
    public static final String PROXY_CLIENT_IP = "Proxy-Client-IP";
    /**
     * 字符串 WL-Proxy-Client-IP
     */
    public static final String WL_PROXY_CLIENT_IP = "WL-Proxy-Client-IP";
    /**
     * 字符串 is
     */
    public static final String IS = "is";
    /**
     * 手机号码验证格式
     */
    public static final String PHONE_FORMAT = "^1(([3,8][0-9])|(4[5,7,9])|(5[0-3,5-9])|(66)|(7[3,5,6,7,8])|(9[8,9]))\\d{8}$";
    /**
     * 字符串 data
     */
    public static final String DATA = "data";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy