1 /* 2 * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. 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.is; 45 46 import java.util.ListResourceBundle; 47 48 public class CollationData_is extends ListResourceBundle { 49 50 protected final Object[][] getContents() { 51 return new Object[][] { 52 { "Rule", 53 /* for is, accents sorted backwards plus the following: */ 54 55 "@" /* sort accents bkwd */ 56 /* assuming that in the default collation we add: */ 57 /* thorn, ae ligature, o-diaeresis, and o-slash */ 58 /* ....in this order...and ditto for the uppercase of these.... */ 59 /* to be treated as characters (not accented characters) after z */ 60 /* then we don't have to add anything here. I've just added it here */ 61 /* just in case it gets overlooked. */ 62 + "& A < a\u0301, A\u0301 " // nt : A < a-acute 63 + "& D < \u00f0, \u00d0" // nt : d < eth 64 + "& E < e\u0301, E\u0301 " // nt : e < e-acute 65 + "& I < i\u0301, I\u0301 " // nt : i < i-acute 66 + "& O < o\u0301, O\u0301 " // nt : o < o-acute 67 + "& U < u\u0301, U\u0301 " // nt : u < u-acute 68 + "& Y < y\u0301, Y\u0301 " // nt : y < y-acute 69 + "& Z < \u00fe, \u00de < \u00e6, \u00c6" // nt : z < thron < a-e-ligature 70 + "< o\u0308, O\u0308 ; \u00f8, \u00d8" // nt : o-umlaut ; o-stroke 71 } 72 }; 73 } 74 }