List of usage examples for org.apache.commons.collections15 ExtendedTransformer getDestinationType
Class<O> getDestinationType();
From source file:org.springframework.core.convert.support.ExtendedConversionUtils.java
public static final <S, T> ExtendedConverter<S, T> toConverter(final ExtendedTransformer<S, T> xformer) { Assert.notNull(xformer, "No transformer"); return new AbstractExtendedConverter<S, T>(xformer.getSourceType(), xformer.getDestinationType()) { @Override/* w w w .ja v a 2 s . c om*/ public T convert(S source) { return xformer.transform(source); } }; }