author | ohair |
Wed, 06 Apr 2011 22:06:11 -0700 | |
changeset 9035 | 1255eb81cc2f |
parent 8695 | e83968c6ceda |
permissions | -rw-r--r-- |
8695 | 1 |
/* |
9035
1255eb81cc2f
7033660: Update copyright year to 2011 on any files changed in 2011
ohair
parents:
8695
diff
changeset
|
2 |
* Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. |
8695 | 3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 |
* |
|
5 |
* This code is free software; you can redistribute it and/or modify it |
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
|
7 |
* published by the Free Software Foundation. Oracle designates this |
|
8 |
* particular file as subject to the "Classpath" exception as provided |
|
9 |
* by Oracle in the LICENSE file that accompanied this code. |
|
10 |
* |
|
11 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
|
12 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
13 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
14 |
* version 2 for more details (a copy is included in the LICENSE file that |
|
15 |
* accompanied this code). |
|
16 |
* |
|
17 |
* You should have received a copy of the GNU General Public License version |
|
18 |
* 2 along with this work; if not, write to the Free Software Foundation, |
|
19 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
20 |
* |
|
21 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
|
22 |
* or visit www.oracle.com if you need additional information or have any |
|
23 |
* questions. |
|
24 |
*/ |
|
25 |
||
26 |
/* |
|
27 |
*/ |
|
28 |
||
29 |
/* |
|
30 |
* (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved |
|
31 |
* (C) Copyright IBM Corp. 1996 - 1998 - All Rights Reserved |
|
32 |
* |
|
33 |
* The original version of this source code and documentation |
|
34 |
* is copyrighted and owned by Taligent, Inc., a wholly-owned |
|
35 |
* subsidiary of IBM. These materials are provided under terms |
|
36 |
* of a License Agreement between Taligent and Sun. This technology |
|
37 |
* is protected by multiple US and International patents. |
|
38 |
* |
|
39 |
* This notice and attribution to Taligent may not be removed. |
|
40 |
* Taligent is a registered trademark of Taligent, Inc. |
|
41 |
* |
|
42 |
*/ |
|
43 |
||
44 |
package sun.text.resources; |
|
45 |
||
46 |
import java.util.ListResourceBundle; |
|
47 |
||
48 |
public class CollationData_sr_Latn extends ListResourceBundle { |
|
49 |
||
50 |
protected final Object[][] getContents() { |
|
51 |
return new Object[][] { |
|
52 |
{ "Rule", |
|
53 |
/* for sr-Latin, default sorting except for the following: */ |
|
54 |
||
55 |
/* add dz "ligature" between d and d<stroke>. */ |
|
56 |
/* add d<stroke> between d and e. */ |
|
57 |
/* add lj "ligature" between l and l<stroke>. */ |
|
58 |
/* add l<stroke> between l and m. */ |
|
59 |
/* add nj "ligature" between n and o. */ |
|
60 |
/* add z<abovedot> after z. */ |
|
61 |
"& \u200f = \u030c " |
|
62 |
+ "& \u0306 = \u030d " |
|
63 |
+ "& C < c\u030c , C\u030c " // C < c-caron |
|
64 |
+ "< c\u0301 , C\u0301 " // c-acute |
|
65 |
+ "& D < \u01f3 , \u01f2 , \u01f1 " // dz |
|
66 |
+ "< dz , dZ , Dz , DZ " // dz ligature |
|
67 |
+ "< \u01c6 , \u01c5 , \u01c4 " // dz-caron |
|
68 |
+ "< \u0111 , \u0110 " // d-stroke |
|
69 |
+ "& L < lj , lJ , Lj , LJ " // l < lj ligature |
|
70 |
+ "& N < nj , nJ , Nj , NJ " // n < nj ligature |
|
71 |
+ "& S < s\u030c , S\u030c " // s < s-caron |
|
72 |
+ "& Z < z\u030c , Z\u030c " // z < z-caron |
|
73 |
} |
|
74 |
}; |
|
75 |
} |
|
76 |
} |