01: /*
02: *******************************************************************************
03: * Copyright (C) 2002-2004, International Business Machines Corporation and *
04: * others. All Rights Reserved. *
05: *******************************************************************************
06: */
07:
08: package com.ibm.icu.dev.tool.localeconverter;
09:
10: /*
11:
12: ConvertPOSIXLocale [-11] [-12] [-icu] [-icu2] localeDataFile [charMapFile ...]
13:
14: */
15:
16: public class ConvertLocaleTest {
17: public static void main(String args[]) {
18: /*
19: ConvertPOSIXLocale.main( new String[] {
20: "-12",
21: "C:\\projects\\com\\taligent\\localeconverter\\collationTest.txt"
22: } );
23:
24: ConvertPOSIXLocale.main( new String[] {
25: "-icu",
26: "C:\\projects\\com\\taligent\\localeconverter\\collationTest2.txt",
27: "C:\\projects\\com\\taligent\\localeconverter\\CharMaps\\ISO-8859-1",
28: "C:\\projects\\com\\taligent\\localeconverter\\CharMaps\\mnemonic.ds",
29: } );
30:
31: ConvertPOSIXLocale.main( new String[] {
32: "-icu", "-LC_MESSAGES",
33: "C:\\projects\\com\\taligent\\localeconverter\\Locales\\Vivnx43.ibm",
34: "C:\\projects\\com\\taligent\\localeconverter\\CharMaps\\ibm1129-2-UniCode.chm",
35: } );
36: /* ConvertPOSIXLocale.main( new String[] {
37: "-12",
38: "C:\\projects\\com\\taligent\\localeconverter\\Locales\\POSIXLocales\\en_US",
39: "C:\\projects\\com\\taligent\\localeconverter\\CharMaps\\ISO-8859-1",
40: "C:\\projects\\com\\taligent\\localeconverter\\CharMaps\\mnemonic.ds",
41: });
42: /* ConvertPOSIXLocale.main( new String[] {
43: "-12",
44: "C:\\projects\\com\\taligent\\localeconverter\\Locales\\POSIXLocales\\fi_FI",
45: "C:\\projects\\com\\taligent\\localeconverter\\CharMaps\\ISO-8859-1",
46: "C:\\projects\\com\\taligent\\localeconverter\\CharMaps\\mnemonic.ds",
47: });
48:
49: ConvertPOSIXLocale.main( new String[] {
50: "-12", "en_BE",
51: "C:\\projects\\com\\taligent\\localeconverter\\Locales\\ENBEWIN.IBM",
52: "C:\\projects\\com\\taligent\\localeconverter\\CharMaps\\Ibm1252.chm",
53: });
54:
55: ConvertPOSIXLocale.main( new String[] {
56: "-12", "vi_VN",
57: "C:\\projects\\com\\taligent\\localeconverter\\Locales\\Vivnx43.ibm",
58: "C:\\projects\\com\\taligent\\localeconverter\\CharMaps\\ibm1129-2-UniCode.chm",
59: });
60:
61: ConvertPOSIXLocale.main( new String[] {
62: "-icu", "fr_FR",
63: "C:\\projects\\com\\taligent\\localeconverter\\Locales\\POSIXLocales\\fr_FR",
64: "C:\\projects\\com\\taligent\\localeconverter\\CharMaps\\ISO-8859-1",
65: "C:\\projects\\com\\taligent\\localeconverter\\CharMaps\\mnemonic.ds",
66: });
67:
68: ConvertPOSIXLocale.main( new String[] {
69: "-icu", "fo_FO",
70: "C:\\projects\\com\\taligent\\localeconverter\\Locales\\POSIXLocales\\fo_FO",
71: "C:\\projects\\com\\taligent\\localeconverter\\CharMaps\\ISO-8859-1",
72: "C:\\projects\\com\\taligent\\localeconverter\\CharMaps\\mnemonic.ds",
73: });
74: */
75: ConvertPOSIXLocale
76: .main(new String[] {
77: "-icu",
78: "fr_LU",
79: "C:\\projects\\com\\taligent\\localeconverter\\Locales\\POSIXLocales\\fr_LU",
80: "C:\\projects\\com\\taligent\\localeconverter\\CharMaps\\ISO-8859-1",
81: "C:\\projects\\com\\taligent\\localeconverter\\CharMaps\\mnemonic.ds", });
82: /*
83: ConvertPOSIXLocale.main( new String[] {
84: "-icu", "de_LU",
85: "C:\\projects\\com\\taligent\\localeconverter\\Locales\\POSIXLocales\\de_LU",
86: "C:\\projects\\com\\taligent\\localeconverter\\CharMaps\\ISO-8859-1",
87: "C:\\projects\\com\\taligent\\localeconverter\\CharMaps\\mnemonic.ds",
88: });
89: */
90: }
91: }
|