-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConstants.java
More file actions
72 lines (41 loc) · 2.08 KB
/
Copy pathConstants.java
File metadata and controls
72 lines (41 loc) · 2.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
package Chat;
import java.awt.Color;
/**
* The message constants
*
* @author joar
*/
public class Constants {
public static final String WORKING_DIR = System.getProperty("user.dir");
public static final String MESSAGE_START = "<message>";
public static final String MESSAGE_NAME = "<message name=";
public static final String MESSAGE_STOP = "</message>";
public static final String BROKEN = "broken message";
public static final String TEXT_START = "<text>";
public static final String TEXT_COLOR = "<text color=";
public static final String TEXT_STOP = "</text>";
public static final String BOLD_START = "<fetstil>";
public static final String BOLD_STOP = "</fetstil>";
public static final String KURSIVE_START = "<kursive>";
public static final String KURSIVE_STOP = "</kursive>";
public static final String KEY_REQUEST = "<keyrequest type=";
public static final String KEY_REQUEST_STOP = "</keyrequest>";
public static final String KEY_RESPONSE = "<keyresponse type=";
public static final String KEY_RESPONSE_STOP = "</keyresponse>";
public static final String ENCRYPTED_STOP = "</encrypted>";
public static final String ENCRYPTED_TYPE = "<encrypted type=";
public static final String FILE_REQUEST_NAME = "<filerequest name=";
public static final String FILE_REQUEST_STOP = "</filerequest>";
public static final String FILE_RESPONES = "<fileresponse reply=";
public static final String FILE_RESPONSE_STOP = "</fileresponse>";
public static final String REQUEST = "<request>";
public static final String REQUEST_ANS = "<request ans=";
public static final String REQUEST_STOP = "</request>";
public static final String DISCONNECT = "<disconnect/>";
public static final String BROKEN_ENCRYPTION
= "broken encrypted message";
public static final String[] ENCRYPTIONS = {"AES", "CAESAR"};
public static final Color[] colorList = {Color.BLUE, Color.CYAN,
Color.DARK_GRAY, Color.GREEN, Color.MAGENTA, Color.ORANGE,
Color.PINK, Color.RED, Color.YELLOW};
}