1   /**
2    * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portal.kernel.util;
24  
25  /**
26   * <a href="StringPool.java.html"><b><i>View Source</i></b></a>
27   *
28   * @author Brian Wing Shun Chan
29   *
30   */
31  public class StringPool {
32  
33      public static final String AMPERSAND = "&";
34  
35      public static final String AMPERSAND_ENCODED = "&amp;";
36  
37      public static final String APOSTROPHE = "'";
38  
39      public static final String AT = "@";
40  
41      public static final String BACK_SLASH = "\\";
42  
43      public static final String BETWEEN = "BETWEEN";
44  
45      public static final String BLANK = "";
46  
47      public static final String CDATA_OPEN = "<![CDATA[";
48  
49      public static final String CDATA_CLOSE = "]]>";
50  
51      public static final String CLOSE_BRACKET = "]";
52  
53      public static final String CLOSE_CURLY_BRACE = "}";
54  
55      public static final String CLOSE_PARENTHESIS = ")";
56  
57      public static final String COLON = ":";
58  
59      public static final String COMMA = ",";
60  
61      public static final String COMMA_AND_SPACE = ", ";
62  
63      public static final String DASH = "-";
64  
65      public static final String DOUBLE_APOSTROPHE = "''";
66  
67      public static final String DOUBLE_CLOSE_BRACKET = "]]";
68  
69      public static final String DOUBLE_OPEN_BRACKET = "[[";
70  
71      public static final String DOUBLE_SLASH = "//";
72  
73      public static final String EQUAL = "=";
74  
75      public static final String GREATER_THAN = ">";
76  
77      public static final String GREATER_THAN_OR_EQUAL = ">=";
78  
79      public static final String FALSE = "false";
80  
81      public static final String FORWARD_SLASH = "/";
82  
83      public static final String FOUR_SPACES = "    ";
84  
85      public static final String IS_NOT_NULL = "IS NOT NULL";
86  
87      public static final String IS_NULL = "IS NULL";
88  
89      public static final String LESS_THAN = "<";
90  
91      public static final String LESS_THAN_OR_EQUAL = "<=";
92  
93      public static final String LIKE = "LIKE";
94  
95      public static final String MINUS = "-";
96  
97      public static final String NBSP = "&nbsp;";
98  
99      public static final String NEW_LINE = "\n";
100 
101     public static final String NOT_EQUAL = "!=";
102 
103     public static final String NOT_LIKE = "NOT LIKE";
104 
105     public static final String NULL = "null";
106 
107     public static final String OPEN_BRACKET = "[";
108 
109     public static final String OPEN_CURLY_BRACE = "{";
110 
111     public static final String OPEN_PARENTHESIS = "(";
112 
113     public static final String PERCENT = "%";
114 
115     public static final String PERIOD = ".";
116 
117     public static final String PIPE = "|";
118 
119     public static final String PLUS = "+";
120 
121     public static final String POUND = "#";
122 
123     public static final String QUESTION = "?";
124 
125     public static final String QUOTE = "\"";
126 
127     public static final String RETURN = "\r";
128 
129     public static final String RETURN_NEW_LINE = "\r\n";
130 
131     public static final String SEMICOLON = ";";
132 
133     public static final String SLASH = FORWARD_SLASH;
134 
135     public static final String SPACE = " ";
136 
137     public static final String STAR = "*";
138 
139     public static final String TILDE = "~";
140 
141     public static final String TRUE = "true";
142 
143     public static final String UNDERLINE = "_";
144 
145     public static final String UTF8 = "UTF-8";
146 
147 }