1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/task3/solution02/src/org/apidesign/apifest08/currency/ExtendedConvertor.java Tue Oct 07 11:05:34 2008 +0200
1.3 @@ -0,0 +1,18 @@
1.4 +package org.apidesign.apifest08.currency;
1.5 +
1.6 +import java.util.Currency;
1.7 +
1.8 +/**
1.9 + * Extended convertor interface.
1.10 + * @author lukas
1.11 + *
1.12 + */
1.13 +public interface ExtendedConvertor extends Convertor {
1.14 + /**
1.15 + * Returns true if given conversion is supported.
1.16 + * @param from
1.17 + * @param to
1.18 + * @return
1.19 + */
1.20 + public boolean isConversionSupported(Currency from, Currency to);
1.21 +}