001: /**
002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003: *
004: * Permission is hereby granted, free of charge, to any person obtaining a copy
005: * of this software and associated documentation files (the "Software"), to deal
006: * in the Software without restriction, including without limitation the rights
007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008: * copies of the Software, and to permit persons to whom the Software is
009: * furnished to do so, subject to the following conditions:
010: *
011: * The above copyright notice and this permission notice shall be included in
012: * all copies or substantial portions of the Software.
013: *
014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020: * SOFTWARE.
021: */package com.liferay.portal.kernel.util;
022:
023: /**
024: * <a href="StringPool.java.html"><b><i>View Source</i></b></a>
025: *
026: * @author Brian Wing Shun Chan
027: *
028: */
029: public class StringPool {
030:
031: public static final String AMPERSAND = "&";
032:
033: public static final String APOSTROPHE = "'";
034:
035: public static final String AT = "@";
036:
037: public static final String BACK_SLASH = "\\";
038:
039: public static final String BLANK = "";
040:
041: public static final String CDATA_OPEN = "<![CDATA[";
042:
043: public static final String CDATA_CLOSE = "]]>";
044:
045: public static final String CLOSE_BRACKET = "]";
046:
047: public static final String CLOSE_CURLY_BRACE = "}";
048:
049: public static final String CLOSE_PARENTHESIS = ")";
050:
051: public static final String COLON = ":";
052:
053: public static final String COMMA = ",";
054:
055: public static final String DASH = "-";
056:
057: public static final String DOUBLE_SLASH = "//";
058:
059: public static final String EQUAL = "=";
060:
061: public static final String GREATER_THAN = ">";
062:
063: public static final String FALSE = "false";
064:
065: public static final String FORWARD_SLASH = "/";
066:
067: public static final String FOUR_SPACES = " ";
068:
069: public static final String LESS_THAN = "<";
070:
071: public static final String LIKE = "LIKE";
072:
073: public static final String MINUS = "-";
074:
075: public static final String NBSP = " ";
076:
077: public static final String NEW_LINE = "\n";
078:
079: public static final String NOT_EQUAL = "!=";
080:
081: public static final String NULL = "null";
082:
083: public static final String OPEN_BRACKET = "[";
084:
085: public static final String OPEN_CURLY_BRACE = "{";
086:
087: public static final String OPEN_PARENTHESIS = "(";
088:
089: public static final String PERCENT = "%";
090:
091: public static final String PERIOD = ".";
092:
093: public static final String PIPE = "|";
094:
095: public static final String PLUS = "+";
096:
097: public static final String POUND = "#";
098:
099: public static final String QUESTION = "?";
100:
101: public static final String QUOTE = "\"";
102:
103: public static final String RETURN = "\r";
104:
105: public static final String RETURN_NEW_LINE = "\r\n";
106:
107: public static final String SEMICOLON = ";";
108:
109: public static final String SLASH = FORWARD_SLASH;
110:
111: public static final String SPACE = " ";
112:
113: public static final String STAR = "*";
114:
115: public static final String TILDE = "~";
116:
117: public static final String TRUE = "true";
118:
119: public static final String UNDERLINE = "_";
120:
121: public static final String UTF8 = "UTF-8";
122:
123: }
|