forked from jython/jython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJavaLangStringProvider.java
More file actions
90 lines (74 loc) · 2.67 KB
/
JavaLangStringProvider.java
File metadata and controls
90 lines (74 loc) · 2.67 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
package org.python.core;
public final class JavaLangStringProvider {
private static final String SMALL_O_UMLAUT = "\u00F6";
private static final String RIGHT_SINGLE_QUOTATION_MARK = "\u2019";
private static final String BEAUTIFUL = "sch" + SMALL_O_UMLAUT + "n";
private static final String START_OF_BEAUTIFUL = "sch" + SMALL_O_UMLAUT;
private static final String END_OF_BEAUTIFUL = SMALL_O_UMLAUT + "n";
private static final String JEANNE_DARC = "Jeanne d" + RIGHT_SINGLE_QUOTATION_MARK + "Arc";
private static final String START_OF_JEANNE_DARC = "Jeanne d" + RIGHT_SINGLE_QUOTATION_MARK + "A";
private static final String END_OF_JEANNE_DARC = "d" + RIGHT_SINGLE_QUOTATION_MARK + "Arc";
private static final String BEAUTIFUL_JEANNE_DARC = BEAUTIFUL + "e" + JEANNE_DARC;
/**
* Provides a single small o umlaut
*/
public static final String getSmallOUmlaut() {
return SMALL_O_UMLAUT;
}
/**
* Provides the word 'beautiful' in German, using a small o umlaut
*/
public static final String getBeautiful() {
return BEAUTIFUL;
}
/**
* Provides the start of 'beautiful' in German, using a small o umlaut
*/
public static final String getStartOfBeautiful() {
return START_OF_BEAUTIFUL;
}
/**
* Provides the end of 'beautiful' in German, using a small o umlaut
*/
public static final String getEndOfBeautiful() {
return END_OF_BEAUTIFUL;
}
/**
* Provides the word 'more beautiful' in German, using a small o umlaut
*/
public static final String getMoreBeautiful() {
return BEAUTIFUL + "er";
}
/**
* Provides the right single quotation mark
*
* @see "https://www.compart.com/en/unicode/U+2019"
*/
public static final String getRightSingleQuotationMark() {
return RIGHT_SINGLE_QUOTATION_MARK;
}
/**
* Provides the name of Jeanne d'Arc, but using a right single quotation mark as apostrophe
*/
public static final String getJeanneDArc() {
return JEANNE_DARC;
}
/**
* Provides the start of Jeanne d'Arc, including a right single quotation mark as apostrophe
*/
public static final String getStartOfJeanneDArc() {
return START_OF_JEANNE_DARC;
}
/**
* Provides the end of Jeanne d'Arc, including a right single quotation mark as apostrophe
*/
public static final String getEndOfJeanneDArc() {
return END_OF_JEANNE_DARC;
}
/**
* Provides beautiful Jeanne d'Arc, a mixture of Umlaut and Unicode
*/
public static final String getBeautifulJeanneDArc() {
return BEAUTIFUL_JEANNE_DARC;
}
}