org.tinygroup.convert.objecttxt.fixwidth
Class TextToObject<T>
java.lang.Object
org.tinygroup.convert.text.TextBaseParse
org.tinygroup.convert.objecttxt.fixwidth.TextToObject<T>
- All Implemented Interfaces:
- Converter<String,List<T>>
public class TextToObject<T>
- extends TextBaseParse
- implements Converter<String,List<T>>
| Methods inherited from class org.tinygroup.convert.text.TextBaseParse |
checkFeidlCount, computeDataRow, computeDataRow, computeFixWidthText, computeText, computeTitleRow, computeTitleRow, getFieldEnd, getFieldEndPos, getFisrtRowRealNames, getFixData, getFixTitle, getProperty, getTitleMap, setTitleMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextToObject
public TextToObject(Class<T> clazz,
Map<String,String> titleMap,
String lineSplit)
convert
public List<T> convert(String inputData)
throws ConvertException
- Specified by:
convert in interface Converter<String,List<T>>
- Throws:
ConvertException
Copyright © 2006–2015 TinyGroup. All rights reserved.