org.qi4j.api.io
Class Transforms.ObjectToString

java.lang.Object
  extended by org.qi4j.api.io.Transforms.ObjectToString
All Implemented Interfaces:
Function<Object,String>
Enclosing class:
Transforms

public static class Transforms.ObjectToString
extends Object
implements Function<Object,String>

Convert objects to Strings using .toString()


Constructor Summary
Transforms.ObjectToString()
           
 
Method Summary
 String map(Object o)
          Map a single item from one type to another
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Transforms.ObjectToString

public Transforms.ObjectToString()
Method Detail

map

public String map(Object o)
Description copied from interface: Function
Map a single item from one type to another

Specified by:
map in interface Function<Object,String>
Parameters:
o - the input item
Returns:
the mapped item