mirror of
https://github.com/corda/corda.git
synced 2025-06-12 20:28:18 +00:00
quick sketches of various SWT 3.3 dependencies
This commit is contained in:
22
classpath/java/text/MessageFormat.java
Normal file
22
classpath/java/text/MessageFormat.java
Normal 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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user