1 /* 2 CharacterConstants.java 3 Creation date : 24/03/2007 4 Copyright © Benjamin Croizet (graffity2199@yahoo.fr) 5 6 This program is free software; you can redistribute it and/or 7 modify it under the terms of the GNU General Public License 8 or GNU Lesser General Public License as published by the 9 Free Software Foundation; either version 3 of the License, 10 or (at your option) any later version. 11 12 This program is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 GNU General Public License for more details. 16 17 You should have received copies of the GNU General Public License 18 and GNU Lesser General Public License along with this program; 19 if not, write to the Free Software Foundation, Inc., 20 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 21 http://www.fsf.org/licensing/licenses/gpl.html 22 http://www.gnu.org/licenses/lgpl.html 23 */ 24 25 package net.sourceforge.plantumldependency.common.constants; 26 27 /** 28 * The class which stores all necessary char constants as Strings. 29 * 30 * @author Benjamin Croizet (<a href="mailto:graffity2199@yahoo.fr>graffity2199@yahoo.fr</a>) 31 * @since 1.3.0 32 * @version 1.3.0 33 */ 34 public final class CharacterConstants { 35 36 /** The string representing the at character. */ 37 public static final String AT_CHAR = "@"; 38 39 /** The string representing the back slash character. */ 40 public static final String BACK_SLASH_CHAR = "\\"; 41 42 /** The string representing carriage return character. */ 43 public static final String CARRIAGE_RETURN_CHAR = "\r"; 44 45 /** The string representing the colon character. */ 46 public static final String COLON_CHAR = ":"; 47 48 /** The string representing the comma character. */ 49 public static final String COMMA_CHAR = ","; 50 51 /** The string representing the dot character. */ 52 public static final String DOT_CHAR = "."; 53 54 /** The string representing the = character. */ 55 public static final String EQUAL_CHAR = "="; 56 57 /** The string representing the hash character. */ 58 public static final String HASH_CHAR = "#"; 59 60 /** The string representing the hyphen character. */ 61 public static final String HYPHEN_CHAR = "-"; 62 63 /** The string representing the < character. */ 64 public static final String INFERIOR_CHAR = "<"; 65 66 /** The string representing the left braces character. */ 67 public static final String LEFT_BRACES_CHAR = "{"; 68 69 /** The string representing the left bracket character. */ 70 public static final String LEFT_BRACKET_CHAR = "["; 71 72 /** The string representing the left parenthesis character. */ 73 public static final String LEFT_PARENTHESIS_CHAR = "("; 74 75 /** The string representing the tab character. */ 76 public static final String LINE_CHAR = "\n"; 77 78 /** The string representing the | character. */ 79 public static final String PIPE_CHAR = "|"; 80 81 /** The string representing the quotation mark character. */ 82 public static final String QUOTATION_CHAR = "\""; 83 84 /** The string representing the quote character. */ 85 public static final String QUOTE_CHAR = "'"; 86 87 /** The string representing the right braces character. */ 88 public static final String RIGHT_BRACES_CHAR = "}"; 89 90 /** The string representing the right braket character. */ 91 public static final String RIGHT_BRACKET_CHAR = "]"; 92 93 /** The string representing the right parenthesis character. */ 94 public static final String RIGHT_PARENTHESIS_CHAR = ")"; 95 96 /** The string representing the slash character. */ 97 public static final String SLASH_CHAR = "/"; 98 99 /** The string representing the space character. */ 100 public static final String SPACE_CHAR = " "; 101 102 /** The string representing the * character. */ 103 public static final String STAR_CHAR = "*"; 104 105 /** The string representing the > character. */ 106 public static final String SUPERIOR_CHAR = ">"; 107 108 /** The string representing the tab character. */ 109 public static final String TAB_CHAR = "\t"; 110 111 /** The string array representing all upper case characters of the alphabet. */ 112 public static final String[] UPPER_ALPHABET_CHAR = {"A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", 113 "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"}; 114 115 /** 116 * Private constructor to prevent from instantiation. 117 * 118 * @since 1.3.0 119 */ 120 private CharacterConstants() { 121 super(); 122 } 123 }