public static < T > T columnStringToObject ( Class objClass , String str , String delimiterRegex , String [ ] fieldNames ) throws InstantiationException , IllegalAccessException , NoSuchFieldException , NoSuchMethodException , InvocationTargetException { Pattern delimiterPattern = Pattern . compile ( delimiterRegex ) ; return StringUtils . < T > columnStringToObject ( objClass , str , delimiterPattern , fieldNames ) ; }
Converts a tab delimited string into an object with given fields Requires the object has setXxx functions for the specified fields