01: /*
02: *
03: * @(#)LocaleElements_en.java 1.21 06/10/10
04: *
05: * Portions Copyright 2000-2006 Sun Microsystems, Inc. All Rights
06: * Reserved. Use is subject to license terms.
07: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
08: *
09: * This program is free software; you can redistribute it and/or
10: * modify it under the terms of the GNU General Public License version
11: * 2 only, as published by the Free Software Foundation.
12: *
13: * This program is distributed in the hope that it will be useful, but
14: * WITHOUT ANY WARRANTY; without even the implied warranty of
15: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16: * General Public License version 2 for more details (a copy is
17: * included at /legal/license.txt).
18: *
19: * You should have received a copy of the GNU General Public License
20: * version 2 along with this work; if not, write to the Free Software
21: * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
22: * 02110-1301 USA
23: *
24: * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
25: * Clara, CA 95054 or visit www.sun.com if you need additional
26: * information or have any questions.
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 LocaleElements_en extends ListResourceBundle {
49: /**
50: * Overrides ListResourceBundle
51: */
52: public Object[][] getContents() {
53: // This locale inherits almost everything from the root default locale. However,
54: // even if it inherited everything, we would still need this locale to exist
55: // to make the resource-bundle lookup mechanism work right. In that case, we'd
56: // define this method as follows:
57: // return new Object[][] { };
58: return new Object[][] { { "NumberPatterns",
59: new String[] { "#,##0.###;-#,##0.###", // decimal pattern
60: "\u00A4#,##0.00;-\u00A4#,##0.00", // currency pattern
61: "#,##0%" // percent pattern
62: } } };
63: }
64: }
|