net.sf.doolin.tabular.csv
Class StringCSVAdapter

java.lang.Object
  extended by net.sf.doolin.tabular.csv.StringCSVAdapter
All Implemented Interfaces:
CSVAdapter

public class StringCSVAdapter
extends Object
implements CSVAdapter

Just renders the value by calling the toString() method on it and escapes special characters.

Author:
Damien Coraboeuf

Constructor Summary
StringCSVAdapter()
           
 
Method Summary
 String getCSVValue(Object value)
          Just renders the value by calling the toString() method on it and escapes special characters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringCSVAdapter

public StringCSVAdapter()
Method Detail

getCSVValue

public String getCSVValue(Object value)
Just renders the value by calling the toString() method on it and escapes special characters.

Specified by:
getCSVValue in interface CSVAdapter
Parameters:
value - Value to adapt
Returns:
Adapted value
See Also:
CSVAdapter.getCSVValue(java.lang.Object)


Copyright © 2011. All Rights Reserved.