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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
|
/*
* Copyright (C) 2014 The Android Open Source Project
* Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved
* (C) Copyright IBM Corp. 1996 - 1998 - All Rights Reserved
*
* The original version of this source code and documentation
* is copyrighted and owned by Taligent, Inc., a wholly-owned
* subsidiary of IBM. These materials are provided under terms
* of a License Agreement between Taligent and Sun. This technology
* is protected by multiple US and International patents.
*
* This notice and attribution to Taligent may not be removed.
* Taligent is a registered trademark of Taligent, Inc.
*
*/
package java.util;
import java.text.MessageFormat;
import java.io.IOException;
import java.io.ObjectOutputStream;
import java.io.ObjectInputStream;
@SuppressWarnings({"unchecked", "deprecation", "all"})
public final class Locale implements java.lang.Cloneable, java.io.Serializable {
public Locale(java.lang.String language, java.lang.String country, java.lang.String variant) { throw new RuntimeException("Stub!"); }
public Locale(java.lang.String language, java.lang.String country) { throw new RuntimeException("Stub!"); }
public Locale(java.lang.String language) { throw new RuntimeException("Stub!"); }
public static java.util.Locale getDefault() { throw new RuntimeException("Stub!"); }
public static java.util.Locale getDefault(java.util.Locale.Category category) { throw new RuntimeException("Stub!"); }
public static java.util.Locale initDefault() { throw new RuntimeException("Stub!"); }
public static synchronized void setDefault(java.util.Locale newLocale) { throw new RuntimeException("Stub!"); }
public static synchronized void setDefault(java.util.Locale.Category category, java.util.Locale newLocale) { throw new RuntimeException("Stub!"); }
public static java.util.Locale[] getAvailableLocales() { throw new RuntimeException("Stub!"); }
public static java.lang.String[] getISOCountries() { throw new RuntimeException("Stub!"); }
public static java.lang.String[] getISOLanguages() { throw new RuntimeException("Stub!"); }
public java.lang.String getLanguage() { throw new RuntimeException("Stub!"); }
public java.lang.String getScript() { throw new RuntimeException("Stub!"); }
public java.lang.String getCountry() { throw new RuntimeException("Stub!"); }
public java.lang.String getVariant() { throw new RuntimeException("Stub!"); }
public boolean hasExtensions() { throw new RuntimeException("Stub!"); }
public java.util.Locale stripExtensions() { throw new RuntimeException("Stub!"); }
public java.lang.String getExtension(char key) { throw new RuntimeException("Stub!"); }
public java.util.Set<java.lang.Character> getExtensionKeys() { throw new RuntimeException("Stub!"); }
public java.util.Set<java.lang.String> getUnicodeLocaleAttributes() { throw new RuntimeException("Stub!"); }
public java.lang.String getUnicodeLocaleType(java.lang.String key) { throw new RuntimeException("Stub!"); }
public java.util.Set<java.lang.String> getUnicodeLocaleKeys() { throw new RuntimeException("Stub!"); }
public java.lang.String toString() { throw new RuntimeException("Stub!"); }
public java.lang.String toLanguageTag() { throw new RuntimeException("Stub!"); }
public static java.util.Locale forLanguageTag(java.lang.String languageTag) { throw new RuntimeException("Stub!"); }
public java.lang.String getISO3Language() throws java.util.MissingResourceException { throw new RuntimeException("Stub!"); }
public java.lang.String getISO3Country() throws java.util.MissingResourceException { throw new RuntimeException("Stub!"); }
public java.lang.String getDisplayLanguage() { throw new RuntimeException("Stub!"); }
public java.lang.String getDisplayLanguage(java.util.Locale locale) { throw new RuntimeException("Stub!"); }
public java.lang.String getDisplayScript() { throw new RuntimeException("Stub!"); }
public java.lang.String getDisplayScript(java.util.Locale inLocale) { throw new RuntimeException("Stub!"); }
public java.lang.String getDisplayCountry() { throw new RuntimeException("Stub!"); }
public java.lang.String getDisplayCountry(java.util.Locale locale) { throw new RuntimeException("Stub!"); }
public java.lang.String getDisplayVariant() { throw new RuntimeException("Stub!"); }
public java.lang.String getDisplayVariant(java.util.Locale inLocale) { throw new RuntimeException("Stub!"); }
public java.lang.String getDisplayName() { throw new RuntimeException("Stub!"); }
public java.lang.String getDisplayName(java.util.Locale locale) { throw new RuntimeException("Stub!"); }
public java.lang.Object clone() { throw new RuntimeException("Stub!"); }
public int hashCode() { throw new RuntimeException("Stub!"); }
public boolean equals(java.lang.Object obj) { throw new RuntimeException("Stub!"); }
@libcore.api.CorePlatformApi
public static java.lang.String adjustLanguageCode(java.lang.String languageCode) { throw new RuntimeException("Stub!"); }
public static java.util.List<java.util.Locale> filter(java.util.List<java.util.Locale.LanguageRange> priorityList, java.util.Collection<java.util.Locale> locales, java.util.Locale.FilteringMode mode) { throw new RuntimeException("Stub!"); }
public static java.util.List<java.util.Locale> filter(java.util.List<java.util.Locale.LanguageRange> priorityList, java.util.Collection<java.util.Locale> locales) { throw new RuntimeException("Stub!"); }
public static java.util.List<java.lang.String> filterTags(java.util.List<java.util.Locale.LanguageRange> priorityList, java.util.Collection<java.lang.String> tags, java.util.Locale.FilteringMode mode) { throw new RuntimeException("Stub!"); }
public static java.util.List<java.lang.String> filterTags(java.util.List<java.util.Locale.LanguageRange> priorityList, java.util.Collection<java.lang.String> tags) { throw new RuntimeException("Stub!"); }
public static java.util.Locale lookup(java.util.List<java.util.Locale.LanguageRange> priorityList, java.util.Collection<java.util.Locale> locales) { throw new RuntimeException("Stub!"); }
public static java.lang.String lookupTag(java.util.List<java.util.Locale.LanguageRange> priorityList, java.util.Collection<java.lang.String> tags) { throw new RuntimeException("Stub!"); }
public static final java.util.Locale CANADA;
static { CANADA = null; }
public static final java.util.Locale CANADA_FRENCH;
static { CANADA_FRENCH = null; }
public static final java.util.Locale CHINA;
static { CHINA = null; }
public static final java.util.Locale CHINESE;
static { CHINESE = null; }
public static final java.util.Locale ENGLISH;
static { ENGLISH = null; }
public static final java.util.Locale FRANCE;
static { FRANCE = null; }
public static final java.util.Locale FRENCH;
static { FRENCH = null; }
public static final java.util.Locale GERMAN;
static { GERMAN = null; }
public static final java.util.Locale GERMANY;
static { GERMANY = null; }
public static final java.util.Locale ITALIAN;
static { ITALIAN = null; }
public static final java.util.Locale ITALY;
static { ITALY = null; }
public static final java.util.Locale JAPAN;
static { JAPAN = null; }
public static final java.util.Locale JAPANESE;
static { JAPANESE = null; }
public static final java.util.Locale KOREA;
static { KOREA = null; }
public static final java.util.Locale KOREAN;
static { KOREAN = null; }
public static final java.util.Locale PRC;
static { PRC = null; }
public static final char PRIVATE_USE_EXTENSION = 120; // 0x0078 'x'
public static final java.util.Locale ROOT;
static { ROOT = null; }
public static final java.util.Locale SIMPLIFIED_CHINESE;
static { SIMPLIFIED_CHINESE = null; }
public static final java.util.Locale TAIWAN;
static { TAIWAN = null; }
public static final java.util.Locale TRADITIONAL_CHINESE;
static { TRADITIONAL_CHINESE = null; }
public static final java.util.Locale UK;
static { UK = null; }
public static final char UNICODE_LOCALE_EXTENSION = 117; // 0x0075 'u'
public static final java.util.Locale US;
static { US = null; }
@SuppressWarnings({"unchecked", "deprecation", "all"})
public static final class Builder {
public Builder() { throw new RuntimeException("Stub!"); }
public java.util.Locale.Builder setLocale(java.util.Locale locale) { throw new RuntimeException("Stub!"); }
public java.util.Locale.Builder setLanguageTag(java.lang.String languageTag) { throw new RuntimeException("Stub!"); }
public java.util.Locale.Builder setLanguage(java.lang.String language) { throw new RuntimeException("Stub!"); }
public java.util.Locale.Builder setScript(java.lang.String script) { throw new RuntimeException("Stub!"); }
public java.util.Locale.Builder setRegion(java.lang.String region) { throw new RuntimeException("Stub!"); }
public java.util.Locale.Builder setVariant(java.lang.String variant) { throw new RuntimeException("Stub!"); }
public java.util.Locale.Builder setExtension(char key, java.lang.String value) { throw new RuntimeException("Stub!"); }
public java.util.Locale.Builder setUnicodeLocaleKeyword(java.lang.String key, java.lang.String type) { throw new RuntimeException("Stub!"); }
public java.util.Locale.Builder addUnicodeLocaleAttribute(java.lang.String attribute) { throw new RuntimeException("Stub!"); }
public java.util.Locale.Builder removeUnicodeLocaleAttribute(java.lang.String attribute) { throw new RuntimeException("Stub!"); }
public java.util.Locale.Builder clear() { throw new RuntimeException("Stub!"); }
public java.util.Locale.Builder clearExtensions() { throw new RuntimeException("Stub!"); }
public java.util.Locale build() { throw new RuntimeException("Stub!"); }
}
@SuppressWarnings({"unchecked", "deprecation", "all"})
public static enum Category {
DISPLAY,
FORMAT;
}
@SuppressWarnings({"unchecked", "deprecation", "all"})
public static enum FilteringMode {
AUTOSELECT_FILTERING,
EXTENDED_FILTERING,
IGNORE_EXTENDED_RANGES,
MAP_EXTENDED_RANGES,
REJECT_EXTENDED_RANGES;
}
@SuppressWarnings({"unchecked", "deprecation", "all"})
public static final class LanguageRange {
public LanguageRange(java.lang.String range) { throw new RuntimeException("Stub!"); }
public LanguageRange(java.lang.String range, double weight) { throw new RuntimeException("Stub!"); }
public java.lang.String getRange() { throw new RuntimeException("Stub!"); }
public double getWeight() { throw new RuntimeException("Stub!"); }
public static java.util.List<java.util.Locale.LanguageRange> parse(java.lang.String ranges) { throw new RuntimeException("Stub!"); }
public static java.util.List<java.util.Locale.LanguageRange> parse(java.lang.String ranges, java.util.Map<java.lang.String, java.util.List<java.lang.String>> map) { throw new RuntimeException("Stub!"); }
public static java.util.List<java.util.Locale.LanguageRange> mapEquivalents(java.util.List<java.util.Locale.LanguageRange> priorityList, java.util.Map<java.lang.String, java.util.List<java.lang.String>> map) { throw new RuntimeException("Stub!"); }
public int hashCode() { throw new RuntimeException("Stub!"); }
public boolean equals(java.lang.Object obj) { throw new RuntimeException("Stub!"); }
public static final double MAX_WEIGHT = 1.0;
public static final double MIN_WEIGHT = 0.0;
}
}
|