package cn.van.business.util;

import java.util.UUID;

/**
 * 字符串常量集
 *
 */
public class StringsUtil {
	/**
	 * 空字符串
	 */
	public static final String EMPTY = "";
	/**
	 * 逗号
	 */
	public static final String COMMA = ",";
	/**
	 * 句点
	 */
	public static final String DOT = ".";
	/**
	 * 下划线
	 */
	public static final String UNDERLINE = "_";
	/**
	 * 空格
	 */
	public static final String SPACE = " ";
	/**
	 * 等于
	 */
	public static final String EQUAL = "=";
	/**
	 * 星号
	 */
	public static final String ASTERISK = "*";
	/**
	 * 双引号
	 */
	public static final String DOUBLE_QUOTES = "\"";
	/**
	 * 单引号
	 */
	public static final String SINGLE_QUOTES = "'";
	/**
	 * 回车符
	 */
	public static final String ENTER = "\n";
	/**
	 * 左括弧
	 */
	public static final String LEFT_BRACKET = "(";
	/**
	 * 右括弧
	 */
	public static final String RIGHT_BRACKET = ")";
	/**
	 * 冒号
	 */
	public static final String COLON = ":";
	/**
	 * 分号
	 */
	public static final String SEMICOLON = ";";
	/**
	 * 斜杠
	 */
	public static final String SLASH = "/";
	/**
	 * 反斜杠
	 */
	public static final String BACKSLASH = "\\";
	/**
	 * 百分号
	 */
	public static final String PERCENT = "%";
	/**
	 * 减号
	 */
	public static final String MINUS = "-";
	/**
	 * 加号
	 */
	public static final String PLUS = "+";
	/**
	 * 与号
	 */
	public static final String AND = "&";

	/**
	 * @
	 */
	public static final String AT = "@";

	/**
	 * 井号
	 */
	public static final String WELL = "#";

	/**
	 * 字符编码：UTF-8
	 */
	public static final String ENCODING_UTF8 = "UTF-8";
	/**
	 * 字符编码：GBK
	 */
	public static final String ENCODING_GBK = "GBK";
	/**
	 * 默认字符编码
	 */
	public static final String DEFAULT_ENCODING = StringsUtil.ENCODING_UTF8;

	public static String randomUUID() {
		return UUID.randomUUID().toString();
	}

}
