public class FileDocumentListCreator extends AbstractFileObjectCreator implements DocumentListCreator<File>
Constructor and Description |
---|
FileDocumentListCreator() |
Modifier and Type | Method and Description |
---|---|
List<Document> |
getDocument(String type,
File file,
Object... arguments)
将数据转换成索引文档列表
|
boolean |
isMatch(File data)
判断本批量文档生成器能否处理此数据
|
getDocument
getDocumentCreators, setDocumentCreators
public boolean isMatch(File data)
DocumentListCreator
isMatch
in interface DocumentListCreator<File>
public List<Document> getDocument(String type, File file, Object... arguments)
DocumentListCreator
getDocument
in interface DocumentListCreator<File>
Copyright © 2006–2018 TinyGroup. All rights reserved.