Mercurial > projects > dwt2
annotate com.ibm.icu/src/com/ibm/icu/text/MessageFormat.d @ 98:48d4ee626868
rm databinding.observable seems to be duplicate, databinding.beans now building
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 22 Apr 2009 07:30:21 +0200 |
parents | ebefa5c2eab4 |
children | 536e43f63c81 |
rev | line source |
---|---|
85 | 1 |
2 module com.ibm.icu.text.MessageFormat; | |
3 | |
4 import java.lang.all; | |
98
48d4ee626868
rm databinding.observable seems to be duplicate, databinding.beans now building
Frank Benoit <benoit@tionex.de>
parents:
92
diff
changeset
|
5 |
48d4ee626868
rm databinding.observable seems to be duplicate, databinding.beans now building
Frank Benoit <benoit@tionex.de>
parents:
92
diff
changeset
|
6 import com.ibm.icu.mangoicu.UMessageFormat; |
48d4ee626868
rm databinding.observable seems to be duplicate, databinding.beans now building
Frank Benoit <benoit@tionex.de>
parents:
92
diff
changeset
|
7 |
85 | 8 public class MessageFormat { |
9 | |
98
48d4ee626868
rm databinding.observable seems to be duplicate, databinding.beans now building
Frank Benoit <benoit@tionex.de>
parents:
92
diff
changeset
|
10 private UMessageFormat frm; |
48d4ee626868
rm databinding.observable seems to be duplicate, databinding.beans now building
Frank Benoit <benoit@tionex.de>
parents:
92
diff
changeset
|
11 |
48d4ee626868
rm databinding.observable seems to be duplicate, databinding.beans now building
Frank Benoit <benoit@tionex.de>
parents:
92
diff
changeset
|
12 public this(String pattern ) { |
48d4ee626868
rm databinding.observable seems to be duplicate, databinding.beans now building
Frank Benoit <benoit@tionex.de>
parents:
92
diff
changeset
|
13 frm = new UMessageFormat( pattern.toWCharArray() ); |
85 | 14 } |
15 | |
16 public static String format(String format, Object[] args) { | |
92
ebefa5c2eab4
moving ICU bindings to com.ibm.icu
Frank Benoit <benoit@tionex.de>
parents:
85
diff
changeset
|
17 implMissing(__FILE__, __LINE__); |
85 | 18 return null; |
19 } | |
20 | |
21 public String format(Object[] objects) { | |
92
ebefa5c2eab4
moving ICU bindings to com.ibm.icu
Frank Benoit <benoit@tionex.de>
parents:
85
diff
changeset
|
22 implMissing(__FILE__, __LINE__); |
85 | 23 return null; |
24 } | |
25 | |
26 } | |
27 | |
28 |