|
|||||||||||||||||||
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
ConverterFactory.java | - | - | - | - |
|
1 |
/*
|
|
2 |
* Copyright (C) The Spice Group. All rights reserved.
|
|
3 |
*
|
|
4 |
* This software is published under the terms of the Spice
|
|
5 |
* Software License version 1.1, a copy of which has been included
|
|
6 |
* with this distribution in the LICENSE.txt file.
|
|
7 |
*/
|
|
8 |
package org.codehaus.spice.converter;
|
|
9 |
|
|
10 |
/**
|
|
11 |
* This factory is used to create instances of factory objects.
|
|
12 |
* The Factory is used so we can lazily instantiate converters
|
|
13 |
* which may be useful if there is a large number of them created
|
|
14 |
* for some reason.
|
|
15 |
*
|
|
16 |
* @author <a href="mailto:adammurdoch at apache.org">Adam Murdoch</a>
|
|
17 |
* @version $Revision: 1.1 $ $Date: 2003/12/02 08:37:56 $
|
|
18 |
*/
|
|
19 |
public interface ConverterFactory |
|
20 |
{ |
|
21 |
/**
|
|
22 |
* Create an instance of converter.
|
|
23 |
*
|
|
24 |
* @return the Converter object
|
|
25 |
* @throws Exception if unable to create converter
|
|
26 |
*/
|
|
27 |
Converter createConverter() |
|
28 |
throws Exception;
|
|
29 |
} |
|
30 |
|
|