We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
现在将表格的某一列单元格类型设置为了文本,这一列的数据都是 102这种数字,执行下面的代码: ''' public static class ArrayDataListener extends AnalysisEventListener<Map<Integer, String>> {
@Override public void invokeHead(Map<Integer, ReadCellData<?>> headMap, AnalysisContext context) { log.info("解析到一条头数据:{}", JSON.toJSONString(headMap)); for (Integer key : headMap.keySet()) { ReadCellData cellData = headMap.get(key); System.out.println(cellData.getStringValue() + ":" + cellData.getType().name()); } } @Override public void invoke(Map<Integer, String> dataMap, AnalysisContext analysisContext) { return; } @Override public void doAfterAllAnalysed(AnalysisContext analysisContext) { } }
''' 输出接口是STRING
请问easyexcel对于单元格的类型是根据数据内容来推断的吗?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
获取单元格的类型不准确
现在将表格的某一列单元格类型设置为了文本,这一列的数据都是 102这种数字,执行下面的代码:
'''
public static class ArrayDataListener extends AnalysisEventListener<Map<Integer, String>> {
'''
输出接口是STRING
请问easyexcel对于单元格的类型是根据数据内容来推断的吗?
The text was updated successfully, but these errors were encountered: