jdk/src/share/classes/sun/text/resources/CollationData_th.java
author duke
Sat, 01 Dec 2007 00:00:00 +0000
changeset 2 90ce3da70b43
child 5506 202f599c92aa
permissions -rw-r--r--
Initial load
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
 * Portions Copyright 2005 Sun Microsystems, Inc.  All Rights Reserved.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
 * published by the Free Software Foundation.  Sun designates this
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
 * by Sun in the LICENSE file that accompanied this code.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
 * CA 95054 USA or visit www.sun.com if you need additional information or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
 * have any questions.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
/*
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
/*
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
 * (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
 * (C) Copyright IBM Corp. 1996 - 1998 - All Rights Reserved
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
 * The original version of this source code and documentation
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
 * is copyrighted and owned by Taligent, Inc., a wholly-owned
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
 * subsidiary of IBM. These materials are provided under terms
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
 * of a License Agreement between Taligent and Sun. This technology
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
 * is protected by multiple US and International patents.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
 * This notice and attribution to Taligent may not be removed.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
 * Taligent is a registered trademark of Taligent, Inc.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
package sun.text.resources;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
import java.util.ListResourceBundle;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
public class CollationData_th extends ListResourceBundle {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
    protected final Object[][] getContents() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
        return new Object[][] {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
            { "Rule",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
                "! "                            // First turn on the SE Asian Vowel/Consonant
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
                                                // swapping rule
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
                + "& Z "                        // Put in all of the consonants, after Z
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
                + "< \u0E01 "                   //  KO KAI
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
                + "< \u0E02 "                   //  KHO KHAI
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
                + "< \u0E03 "                   //  KHO KHUAT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
                + "< \u0E04 "                   //  KHO KHWAI
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
                + "< \u0E05 "                   //  KHO KHON
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
                + "< \u0E06 "                   //  KHO RAKHANG
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
                + "< \u0E07 "                   //  NGO NGU
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
                + "< \u0E08 "                   //  CHO CHAN
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
                + "< \u0E09 "                   //  CHO CHING
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
                + "< \u0E0A "                   //  CHO CHANG
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
                + "< \u0E0B "                   //  SO SO
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
                + "< \u0E0C "                   //  CHO CHOE
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
                + "< \u0E0D "                   //  YO YING
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
                + "< \u0E0E "                   //  DO CHADA
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
                + "< \u0E0F "                   //  TO PATAK
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
                + "< \u0E10 "                   //  THO THAN
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
                + "< \u0E11 "                   //  THO NANGMONTHO
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
                + "< \u0E12 "                   //  THO PHUTHAO
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
                + "< \u0E13 "                   //  NO NEN
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
                + "< \u0E14 "                   //  DO DEK
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
                + "< \u0E15 "                   //  TO TAO
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
                + "< \u0E16 "                   //  THO THUNG
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
                + "< \u0E17 "                   //  THO THAHAN
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
                + "< \u0E18 "                   //  THO THONG
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
                + "< \u0E19 "                   //  NO NU
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
                + "< \u0E1A "                   //  BO BAIMAI
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
                + "< \u0E1B "                   //  PO PLA
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
                + "< \u0E1C "                   //  PHO PHUNG
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
                + "< \u0E1D "                   //  FO FA
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
                + "< \u0E1E "                   //  PHO PHAN
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
                + "< \u0E1F "                   //  FO FAN
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
                + "< \u0E20 "                   //  PHO SAMPHAO
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
                + "< \u0E21 "                   //  MO MA
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
                + "< \u0E22 "                   //  YO YAK
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
                + "< \u0E23 "                   //  RO RUA
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
                + "< \u0E24 "                   //  RU
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
                + "< \u0E25 "                   //  LO LING
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
                + "< \u0E26 "                   //  LU
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
                + "< \u0E27 "                   //  WO WAEN
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
                + "< \u0E28 "                   //  SO SALA
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
                + "< \u0E29 "                   //  SO RUSI
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
                + "< \u0E2A "                   //  SO SUA
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
                + "< \u0E2B "                   //  HO HIP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
                + "< \u0E2C "                   //  LO CHULA
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
                + "< \u0E2D "                   //  O ANG
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
                + "< \u0E2E "                   //  HO NOKHUK
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
                //
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
                // Normal vowels
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
                //
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
                + "< \u0E30 "                   //  SARA A
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
                + "< \u0E31 "                   //  MAI HAN-AKAT
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
                + "< \u0E32 "                   //  SARA AA
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
                // Normalizer will decompose this character to \u0e4d\u0e32.  This is
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
                // a Bad Thing, because we want the separate characters to sort
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
                // differently than this individual one.  Since there's no public way to
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
                // set the decomposition to be used when creating a collator, there's
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
                // no way around this right now.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
                // It's best to go ahead and leave the character in, because it occurs
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
                // this way a lot more often than it occurs as separate characters.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
                + "< \u0E33 "                   //  SARA AM
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
                + "< \u0E34 "                   //  SARA I
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
                + "< \u0E35 "                   //  SARA II
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
                + "< \u0E36 "                   //  SARA UE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
                + "< \u0E37 "                   //  SARA UEE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
                + "< \u0E38 "                   //  SARA U
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
                + "< \u0E39 "                   //  SARA UU
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
                //
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
                // Preceding vowels
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
                //
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
                + "< \u0E40 "                   //  SARA E
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
                + "< \u0E41 "                   //  SARA AE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
                + "< \u0E42 "                   //  SARA O
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
                + "< \u0E43 "                   //  SARA AI MAIMUAN
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
                + "< \u0E44 "                   //  SARA AI MAIMALAI
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
                //
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
                // Digits
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
                //
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
                + "< \u0E50 "                   //  DIGIT ZERO
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
                + "< \u0E51 "                   //  DIGIT ONE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
                + "< \u0E52 "                   //  DIGIT TWO
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
                + "< \u0E53 "                   //  DIGIT THREE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
                + "< \u0E54 "                   //  DIGIT FOUR
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
                + "< \u0E55 "                   //  DIGIT FIVE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
                + "< \u0E56 "                   //  DIGIT SIX
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
                + "< \u0E57 "                   //  DIGIT SEVEN
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
                + "< \u0E58 "                   //  DIGIT EIGHT
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
                + "< \u0E59 "                   //  DIGIT NINE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
                // Sorta tonal marks, but maybe not really
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
                + "< \u0E4D "                   //  NIKHAHIT
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
                //
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
                // Thai symbols are supposed to sort "after white space".
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
                // I'm treating this as making them sort just after the normal Latin-1
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
                // symbols, which are in turn after the white space.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
                //
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
                + "&'\u007d'"  //  right-brace
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
                + "< \u0E2F "                   //  PAIYANNOI      (ellipsis, abbreviation)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
                + "< \u0E46 "                   //  MAIYAMOK
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
                + "< \u0E4F "                   //  FONGMAN
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
                + "< \u0E5A "                   //  ANGKHANKHU
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
                + "< \u0E5B "                   //  KHOMUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
                + "< \u0E3F "                   //  CURRENCY SYMBOL BAHT
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
                // These symbols are supposed to be "after all characters"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
                + "< \u0E4E "                   //  YAMAKKAN
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
                // This rare symbol also comes after all characters.  But when it is
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
                // used in combination with RU and LU, the combination is treated as
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
                // a separate letter, ala "CH" sorting after "C" in traditional Spanish.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
                + "< \u0E45 "                   //  LAKKHANGYAO
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
                + "& \u0E24 < \u0E24\u0E45 "
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
                + "& \u0E26 < \u0E26\u0E45 "
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
                // Tonal marks are primary ignorables but are treated as secondary
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
                // differences
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
                + "& \u0301 "   // acute accent
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
                + "; \u0E47 "                   //  MAITAIKHU
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
                + "; \u0E48 "                   //  MAI EK
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
                + "; \u0E49 "                   //  MAI THO
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
                + "; \u0E4A "                   //  MAI TRI
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
                + "; \u0E4B "                   //  MAI CHATTAWA
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
                + "; \u0E4C "                   //  THANTHAKHAT
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
                // These are supposed to be ignored, so I'm treating them as controls
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
                + "& \u0001 "
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
                + "= \u0E3A "                   //  PHINTHU
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
                + "= '.' "                      //  period
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
                }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
        };
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
}