|
|||||||||||||||||||
| 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 | |||||||||||||||
| SVBeanMapperDispatcherMapper.java | 0% | 0% | 0% | 0% |
|
||||||||||||||
| 1 |
/*
|
|
| 2 |
* brownies and its relative products are published under the terms
|
|
| 3 |
* of the Apache Software License.
|
|
| 4 |
*
|
|
| 5 |
* Created on 2004/05/20 17:20:07
|
|
| 6 |
*/
|
|
| 7 |
package org.asyrinx.brownie.core.csv;
|
|
| 8 |
|
|
| 9 |
import java.util.List;
|
|
| 10 |
|
|
| 11 |
/**
|
|
| 12 |
* @author akima
|
|
| 13 |
*/
|
|
| 14 |
public class SVBeanMapperDispatcherMapper implements SVBeanMapper { |
|
| 15 |
|
|
| 16 |
/**
|
|
| 17 |
*
|
|
| 18 |
*/
|
|
| 19 | 0 |
public SVBeanMapperDispatcherMapper(SVBeanMapperDispatcher dispatcher) {
|
| 20 | 0 |
super();
|
| 21 | 0 |
this.dispatcher = dispatcher;
|
| 22 |
} |
|
| 23 |
|
|
| 24 |
private final SVBeanMapperDispatcher dispatcher;
|
|
| 25 |
|
|
| 26 |
/*
|
|
| 27 |
* (non-Javadoc)
|
|
| 28 |
*
|
|
| 29 |
* @see org.asyrinx.brownie.core.text.SVBeanMapper#loadBean(java.util.List)
|
|
| 30 |
*/
|
|
| 31 | 0 |
public Object loadBean(List properties) {
|
| 32 | 0 |
final SVBeanMapper mapper = dispatch(properties); |
| 33 | 0 |
if (mapper != null) |
| 34 | 0 |
return mapper.loadBean(properties);
|
| 35 |
else
|
|
| 36 | 0 |
return null; |
| 37 |
} |
|
| 38 |
|
|
| 39 |
/*
|
|
| 40 |
* (non-Javadoc)
|
|
| 41 |
*
|
|
| 42 |
* @see org.asyrinx.brownie.core.csv.SVBeanMapperDispatcher#dispatch(java.util.List)
|
|
| 43 |
*/
|
|
| 44 | 0 |
public SVBeanMapper dispatch(List properties) {
|
| 45 | 0 |
return dispatcher.dispatch(properties);
|
| 46 |
} |
|
| 47 |
|
|
| 48 |
} |
|
||||||||||