01: /* ****************************************************************************
02: * AccentedTextExample.java
03: * ****************************************************************************/
04:
05: /* J_LZ_COPYRIGHT_BEGIN *******************************************************
06: * Copyright 2001-2004 Laszlo Systems, Inc. All Rights Reserved. *
07: * Use is subject to license terms. *
08: * J_LZ_COPYRIGHT_END *********************************************************/
09: package examples;
10:
11: import java.util.ArrayList;
12:
13: //------------------------------------------------------------------------------
14: // See examples/javarpc/accentedtext.lzx
15: //------------------------------------------------------------------------------
16:
17: public class AccentedTextExample {
18:
19: public static void getVoid() {
20: }
21:
22: public static String getJapaneseChars() {
23: return "\u3080 \u30c0 \u30d0 \u30e0 \u30f0 \u30a1 \u30b1 \u30c1 \u30d1 \u30e1 \u30f1 ";
24: }
25:
26: public static String getAccentedChars() {
27: return "\u0063\u0068 \u0078\u0323 \u019B\u0313";
28: }
29:
30: public static ArrayList getArrayListOfString() {
31: ArrayList list = new ArrayList();
32: list.add("\u00c0");
33: list.add("\u00d0");
34: list.add("\u00e0");
35: list.add("\u00f0");
36: list.add("\u00c1");
37: list.add("\u00d1");
38: list.add("\u00e1");
39: list.add("\u00f1");
40: list.add("\u00c2");
41: list.add("\u00d2");
42: list.add("\u00e2");
43: list.add("\u00f2");
44: list.add("\u00c3");
45: list.add("\u00d3");
46: list.add("\u00e3");
47: list.add("\u00f3");
48: return list;
49: }
50: }
|