quick sketches of various SWT 3.3 dependencies

This commit is contained in:
Joel Dice
2007-09-11 19:13:05 -06:00
parent 132936ba2e
commit cb03240c64
25 changed files with 340 additions and 37 deletions

View File

@ -0,0 +1,22 @@
package java.text;
import java.util.Locale;
public class MessageFormat extends Format {
private final String pattern;
private final Locale locale;
public MessageFormat(String pattern, Locale locale) {
this.pattern = pattern;
this.locale = locale;
}
public MessageFormat(String pattern) {
this(pattern, Locale.getDefault());
}
public StringBuffer format(Object o, StringBuffer target, FieldPosition p) {
// todo
return target.append(pattern);
}
}