Skip to content

Package: PrinterConstants

PrinterConstants

nameinstructionbranchcomplexitylinemethod
static {...}
M: 0 C: 37
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 5
100%
M: 0 C: 1
100%

Coverage

1: package basic;
2:
3: /**
4: * A Class for the String-Constants.
5: *
6: * @author HFW410RA - Philipp Rammos
7: *
8: */
9: public final class PrinterConstants {
10:         /**
11:          * DefaultConstructor.
12:          */
13:         private PrinterConstants() {
14:         }
15:
16:         /**
17:          * a.
18:          */
19:         public static final String SYSTEMPATHSYMBOL = System.getProperty("file.separator");
20:         /**
21:          * String representation for the Header of AssignmentFile.
22:          */
23:         public static final String HEADERASSIGNFILE = "";
24:         /**
25:          * String representation for the Header of DefinitionFile.
26:          */
27:         public static final String HEADERDEFFILE = "";
28:         /**
29:          * String representation for the Header of TypeFile.
30:          */
31:         public static final String HEADERTYPEFILE = "";
32:
33:         /**
34:          * String representation for "-".
35:          */
36:         public static final String MINUS = "-";
37:         /**
38:          * String representation for the re-tag "RE:".
39:          */
40:         public static final String RETAG = "RE:";
41:         /**
42:          * String representation for the tabsspace " ".
43:          */
44:         public static final String TABSYMBOL = "\t";
45:         /**
46:          * String representation for the space " ".
47:          */
48:         public static final String SPACE = " ";
49:         /**
50:          * String representation for the quotation mark "\" ".
51:          */
52:         public static final String QUOTATIONMARK = "\"";
53:         /**
54:          * String representation for line break.
55:          */
56:         public static final String LINEBREAK = "\n";
57:         /**
58:          * String representation for empty string.
59:          */
60:         public static final String EMPTY = "";
61:         /**
62:          * String representation for single quotation symbol.
63:          */
64:         public static final String SINGLEQUOT = "'";
65:         /**
66:          * The encoding for print-files.
67:          */
68:         public static final String ENCODING = "UTF-8";
69:         /**
70:          * The general path for printing.
71:          */
72:         public static final String PATHFORPRINTING =
73:                         "io" + SYSTEMPATHSYMBOL + "output" + SYSTEMPATHSYMBOL;
74:         /**
75:          * The path for printing for AssignmentFile.
76:          */
77:         public static final String ASSIGNMENTPATH = "config" + SYSTEMPATHSYMBOL;
78:         /**
79:          * The fileending for printing for AssignmentFile.
80:          */
81:         public static final String ASSIGNEND = ".txt";
82:         /**
83:          * The path for printing for DefinitiionFile.
84:          */
85:         public static final String DEFPATH = "check" + SYSTEMPATHSYMBOL;
86:         /**
87:          * The fileending for printing for DefinitionFile.
88:          */
89:         public static final String DEFEND = ASSIGNEND;
90:         /**
91:          * The path for printing for TypeFile.
92:          */
93:         public static final String TYPEPATH = DEFPATH;
94:
95:         /**
96:          * The fileending for printing for TypeFile.
97:          */
98:         public static final String TYPEEND = ".exp";
99:         /**
100:          * The messge for exceptions caused by printer.
101:          */
102:         public static final String PRINTEXCEPTION = "The printer caused an Exception!";
103:         /**
104:          * String representation for opening break (.
105:          */
106:         public static final String BREAKOPEN = "(";
107:         /**
108:          * String representation for opening break ).
109:          */
110:         public static final String BREAKCLOSE = ")";
111:         /**
112:          * the message for TYPEDOESNOTEXISTEXCEPTION.
113:          */
114:         public static final String TYPENOTEXISTEXC = "The Type does not exist: ";
115:         /**
116:          * the error message for an AnonVariableType with no error message.
117:          */
118:         public static final String ANONVARERRORMESG = "No error Message available.";
119:         /**
120:          * the message for CYCLEEXCEPTION.
121:          */
122:         public static final String CYCLEEXCEPTION = "Cycle found by: ";
123:         /**
124:          * a.
125:          */
126:         public static final String PATHNOTAVAILABLAE =
127:                         "The path of added Data was modified or removed, pls consider that the original path exists: ";
128:
129: }