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