1296 次
1 に答える
3
タイプのカスタム データ バインダーを登録できDeviceType
ます。
Formatters.register(DeviceType.class, new Formatters.SimpleFormatter<DeviceType>() {
@Override
public DeviceType parse(String input, Locale l) throws ParseException {
return …
}
@Override
public String print(DeviceType deviceType, Locale l) {
return …
}
});
于 2012-04-23T20:54:34.713 に答える