1   /**
2    * Copyright (c) 2000-2007 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 APOSTROPHE = "'";
36  
37      public static final String AT = "@";
38  
39      public static final String BACK_SLASH = "\\";
40  
41      public static final String BLANK = "";
42  
43      public static final String CDATA_OPEN = "<![CDATA[";
44  
45      public static final String CDATA_CLOSE = "]]>";
46  
47      public static final String CLOSE_BRACKET = "]";
48  
49      public static final String CLOSE_CURLY_BRACE = "}";
50  
51      public static final String CLOSE_PARENTHESIS = ")";
52  
53      public static final String COLON = ":";
54  
55      public static final String COMMA = ",";
56  
57      public static final String DASH = "-";
58  
59      public static final String DOUBLE_SLASH = "//";
60  
61      public static final String EQUAL = "=";
62  
63      public static final String GREATER_THAN = ">";
64  
65      public static final String FORWARD_SLASH = "/";
66  
67      public static final String LESS_THAN = "<";
68  
69      public static final String LIKE = "LIKE";
70  
71      public static final String MINUS = "-";
72  
73      public static final String NBSP = "&nbsp;";
74  
75      public static final String NEW_LINE = "\n";
76  
77      public static final String NOT_EQUAL = "!=";
78  
79      public static final String NULL = "null";
80  
81      public static final String OPEN_BRACKET = "[";
82  
83      public static final String OPEN_CURLY_BRACE = "{";
84  
85      public static final String OPEN_PARENTHESIS = "(";
86  
87      public static final String PERCENT = "%";
88  
89      public static final String PERIOD = ".";
90  
91      public static final String PIPE = "|";
92  
93      public static final String PLUS = "+";
94  
95      public static final String POUND = "#";
96  
97      public static final String QUESTION = "?";
98  
99      public static final String QUOTE = "\"";
100 
101     public static final String RETURN = "\r";
102 
103     public static final String RETURN_NEW_LINE = "\r\n";
104 
105     public static final String SEMICOLON = ";";
106 
107     public static final String SLASH = FORWARD_SLASH;
108 
109     public static final String SPACE = " ";
110 
111     public static final String STAR = "*";
112 
113     public static final String TILDE = "~";
114 
115     public static final String UNDERLINE = "_";
116 
117     public static final String UTF8 = "UTF-8";
118 
119 }