task2/solution01/src/org/apidesign/apifest08/currency/CurrencyConvertorFactory.java
1.1 --- a/task2/solution01/src/org/apidesign/apifest08/currency/CurrencyConvertorFactory.java Tue Oct 07 01:18:23 2008 +0200
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,22 +0,0 @@
1.4 -package org.apidesign.apifest08.currency;
1.5 -
1.6 -import java.util.Currency;
1.7 -
1.8 -/**
1.9 - * @author Ladislav Vitasek
1.10 - */
1.11 -public interface CurrencyConvertorFactory {
1.12 -
1.13 - /**
1.14 - * Instantiate a new instance convertor
1.15 - * @param currency1 a code currency you want to convert between
1.16 - * @param currency2 a code currency you want to convert between
1.17 - * @param conversionProperties settings for conversion
1.18 - * @return converter for currency converting
1.19 - * @throws ConvertorNotAvailableException throws if there is no available convertor for selected currencies
1.20 - */
1.21 - Convertor createConvertor(Currency currency1, Currency currency2, ConversionProperties conversionProperties) throws ConvertorNotAvailableException;
1.22 -
1.23 -
1.24 -
1.25 -}