01: /*
02: * @(#)CurrencyConverter.java 5/9/2006
03: *
04: * Copyright 2002 - 2006 JIDE Software Inc. All rights reserved.
05: */
06:
07: package com.jidesoft.converter;
08:
09: import java.text.NumberFormat;
10:
11: /**
12: * Converter which converts currency to String and converts it back.
13: */
14: public class CurrencyConverter extends NumberFormatConverter {
15: public static ConverterContext CONTEXT = new ConverterContext(
16: "Currency");
17:
18: public CurrencyConverter() {
19: this (NumberFormat.getCurrencyInstance());
20: }
21:
22: public CurrencyConverter(NumberFormat format) {
23: super(format);
24: }
25: }
|