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

com.swak.frame.util.StringPool Maven / Gradle / Ivy

There is a newer version: 2.3.1
Show newest version
/**
 * Copyright (C), 2011-2017
 * File Name: StringPool.java
 * Encoding: UTF-8
 * Date: 17-4-18 上午10:10
 * History:
 */
package com.swak.frame.util;

/**
 * ClassName: StringPool.java 
 * @Description: 字符串常量池
 * @author colley.ma
 * @date 2021年3月12日
 */
public class StringPool {
	public static final boolean DEFAULT_BOOLEAN = false;
	public static final Boolean[] DEFAULT_BOOLEAN_VALUES = new Boolean[0];
	public static final double DEFAULT_DOUBLE = 0.0;
	public static final Double[] DEFAULT_DOUBLE_VALUES = new Double[0];
	public static final float DEFAULT_FLOAT = 0;
	public static final Float[] DEFAULT_FLOAT_VALUES = new Float[0];
	public static final int DEFAULT_INTEGER = 0;
	public static final Integer[] DEFAULT_INTEGER_VALUES = new Integer[0];
	public static final long DEFAULT_LONG = 0;
	public static final Long[] DEFAULT_LONG_VALUES = new Long[0];
	public static final short DEFAULT_SHORT = 0;
	public static final Short[] DEFAULT_SHORT_VALUES = new Short[0];
	public static String[] BOOLEANS = { "true", "t", "y", "on", "1" };
	    
	public static final String EMPTY = "";
    public static final String AMPERSAND = "&";
    public static final String AMPERSAND_ENCODED = "&";
    public static final String APOSTROPHE = "'";
    public static final String AT = "@";
    public static final String BACK_SLASH = "\\";
    public static final String BETWEEN = "BETWEEN";
    public static final String BLANK = "";
    public static final String CDATA_OPEN = "";
    public static final String CLOSE_BRACKET = "]";
    public static final String CLOSE_CURLY_BRACE = "}";
    public static final String CLOSE_PARENTHESIS = ")";
    public static final String COLON = ":";
    public static final String COLON2 = "::";
    public static final String COMMA = ",";
    public static final String COMMA_AND_SPACE = ", ";
    public static final String DASH = "-";
    public static final String DOUBLE_APOSTROPHE = "''";
    public static final String DOUBLE_CLOSE_BRACKET = "]]";
    public static final String DOUBLE_OPEN_BRACKET = "[[";
    public static final String DOUBLE_SLASH = "//";
    public static final String EQUAL = "=";
    public static final String GREATER_THAN = ">";
    public static final String GREATER_THAN_OR_EQUAL = ">=";
    public static final String FALSE = "false";
    public static final String FORWARD_SLASH = "/";
    public static final String FOUR_SPACES = "    ";
    public static final String IS_NOT_NULL = "IS NOT NULL";
    public static final String IS_NULL = "IS NULL";
    public static final String LESS_THAN = "<";
    public static final String LESS_THAN_OR_EQUAL = "<=";
    public static final String LIKE = "LIKE";
    public static final String MINUS = "-";
    public static final String NBSP = " ";
    public static final String NEW_LINE = "\n";
    public static final String NOT_EQUAL = "!=";
    public static final String NOT_LIKE = "NOT LIKE";
    public static final String NULL = "null";
    public static final String OPEN_BRACKET = "[";
    public static final String OPEN_CURLY_BRACE = "{";
    public static final String OPEN_PARENTHESIS = "(";
    public static final String PERCENT = "%";
    public static final String PERIOD = ".";
    public static final String PIPE = "|";
    public static final String PLUS = "+";
    public static final String POUND = "#";
    public static final String QUESTION = "?";
    public static final String QUOTE = "\"";
    public static final String RETURN = "\r";
    public static final String RETURN_NEW_LINE = "\r\n";
    public static final String TABSCHAR = "\t"; //4个空格
    public static final String SEMICOLON = ";";
    public static final String SLASH = FORWARD_SLASH;
    public static final String SPACE = " ";
    public static final String STAR = "*";
    public static final String TILDE = "~";
    public static final String TRUE = "true";
    public static final String UNDERLINE = "_";
    public static final String UTF8 = "UTF-8";
    public static final String X_CHAR = "x";
    
    public static final String KEY = "swakc1$7@";

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy