public class XlsDocumentListCreator extends AbstractExcelIndexSource implements DocumentListCreator<FileObject>
UNINIT
Constructor and Description |
---|
XlsDocumentListCreator() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.poi.ss.usermodel.Workbook |
createWorkbook(InputStream input) |
List<Document> |
getDocument(String type,
FileObject data,
Object... arguments)
将数据转换成索引文档列表
|
boolean |
isMatch(FileObject data)
判断本批量文档生成器能否处理此数据
|
dealSheet, getDocument, getFieldName, getFieldNames, getFields, getFirstCol, getFirstRow, getLastCol, getLastRow, getTemplateDocumentCreator, setFields, setFirstCol, setFirstRow, setLastCol, setLastRow, setTemplateDocumentCreator
public boolean isMatch(FileObject data)
DocumentListCreator
isMatch
in interface DocumentListCreator<FileObject>
public List<Document> getDocument(String type, FileObject data, Object... arguments)
DocumentListCreator
getDocument
in interface DocumentListCreator<FileObject>
protected org.apache.poi.ss.usermodel.Workbook createWorkbook(InputStream input) throws IOException
createWorkbook
in class AbstractExcelIndexSource
IOException
Copyright © 2006–2018 TinyGroup. All rights reserved.