net.sf.doolin.util
Class ToStringItemConverter<S>

java.lang.Object
  extended by net.sf.doolin.util.ToStringItemConverter<S>
Type Parameters:
S - Type of object to convert
All Implemented Interfaces:
ItemConverter<S,String>

Deprecated. Use Functions.toStringFunction() instead.

@Deprecated
public class ToStringItemConverter<S>
extends Object
implements ItemConverter<S,String>

Converts any object to a String using ObjectUtils.toString(Object, String).

Author:
Damien Coraboeuf

Constructor Summary
ToStringItemConverter()
          Deprecated.  
 
Method Summary
 String convert(S source)
          Deprecated. Convert a source to a target
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToStringItemConverter

public ToStringItemConverter()
Deprecated. 
Method Detail

convert

public String convert(S source)
Deprecated. 
Description copied from interface: ItemConverter
Convert a source to a target

Specified by:
convert in interface ItemConverter<S,String>
Parameters:
source - Source object
Returns:
Target object


Copyright © 2011. All Rights Reserved.