public class TextBaseParse extends Object
Constructor and Description |
---|
TextBaseParse() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkFeidlCount(String[] fieldNames,
int i,
String[] values) |
protected TextRow |
computeDataRow(List<String> values) |
protected TextRow |
computeDataRow(String[] values) |
Text |
computeFixWidthText(String inputData,
String lineSplit) |
Text |
computeText(String inputData,
String lineSplit,
String fieldSplit) |
protected TextRow |
computeTitleRow(List<String> titles) |
protected TextRow |
computeTitleRow(String[] titles) |
protected int |
getFieldEnd(String string,
int start) |
protected List<Integer> |
getFieldEndPos(String string) |
protected List<String> |
getFisrtRowRealNames(Text text) |
protected List<String> |
getFixData(String string,
List<Integer> filedBytesPosList) |
protected List<String> |
getFixTitle(String string,
List<Integer> fieldPosList,
List<Integer> filedBytesPosList) |
protected String |
getProperty(String title) |
Map<String,String> |
getTitleMap() |
void |
setTitleMap(Map<String,String> titleMap) |
protected List<String> getFixTitle(String string, List<Integer> fieldPosList, List<Integer> filedBytesPosList) throws ConvertException
ConvertException
protected List<String> getFixData(String string, List<Integer> filedBytesPosList) throws ConvertException
ConvertException
protected int getFieldEnd(String string, int start)
protected void checkFeidlCount(String[] fieldNames, int i, String[] values) throws ConvertException
ConvertException
public Text computeFixWidthText(String inputData, String lineSplit) throws ConvertException
ConvertException
public Text computeText(String inputData, String lineSplit, String fieldSplit) throws ConvertException
ConvertException
Copyright © 2006–2018 TinyGroup. All rights reserved.