com.liferay.portal.kernel.util.StringPool Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of portal-service Show documentation
Show all versions of portal-service Show documentation
Contains interfaces for the portal services. Interfaces are only loaded by the global class loader and are shared by all plugins.
/**
* Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.liferay.portal.kernel.util;
import java.nio.charset.Charset;
/**
* @author Brian Wing Shun Chan
*/
public class StringPool {
public static final String AMPERSAND = "&";
public static final String AMPERSAND_ENCODED = "&";
public static final String APOSTROPHE = "'";
public static final String[] ASCII_TABLE = new String[128];
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 CARET = "^";
public static final String CDATA_CLOSE = "]]>";
public static final String CDATA_OPEN = "";
public static final String GREATER_THAN_OR_EQUAL = ">=";
public static final String INVERTED_EXCLAMATION = "\u00A1";
public static final String INVERTED_QUESTION = "\u00BF";
public static final String IS_NOT_NULL = "IS NOT NULL";
public static final String IS_NULL = "IS NULL";
public static final String ISO_8859_1 = "ISO-8859-1";
public static final String LAQUO = "«";
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 NULL_CHAR = "\u0000";
public static final String OPEN_BRACKET = "[";
public static final String OPEN_CURLY_BRACE = "{";
public static final String OPEN_PARENTHESIS = "(";
public static final String OS_EOL = System.getProperty("line.separator");
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 PRIME = "`";
public static final String QUESTION = "?";
public static final String QUOTE = "\"";
public static final String RAQUO = "»";
public static final String RETURN = "\r";
public static final String RETURN_NEW_LINE = "\r\n";
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 TAB = "\t";
public static final String THREE_SPACES = " ";
public static final String TILDE = "~";
public static final String TRIPLE_PERIOD = "...";
public static final String TRUE = "true";
public static final String UNDERLINE = "_";
public static final String UTC = "UTC";
public static final String UTF8 = "UTF-8";
static {
for (int i = 0; i < 128; i++) {
ASCII_TABLE[i] = String.valueOf((char)i);
}
}
}