public class DocDocumentCreator extends AbstractWordIndexSource implements DocumentCreator<FileObject>
Constructor and Description |
---|
DocDocumentCreator() |
Modifier and Type | Method and Description |
---|---|
Document |
getDocument(String type,
FileObject data,
Object... arguments)
将数据转换成索引文档
|
boolean |
isMatch(FileObject data)
判断本文档生成器能否处理此数据
|
protected String |
readWordText(InputStream input) |
getDocument
public boolean isMatch(FileObject data)
DocumentCreator
isMatch
in interface DocumentCreator<FileObject>
public Document getDocument(String type, FileObject data, Object... arguments)
DocumentCreator
getDocument
in interface DocumentCreator<FileObject>
protected String readWordText(InputStream input) throws IOException
readWordText
in class AbstractWordIndexSource
IOException
Copyright © 2006–2018 TinyGroup. All rights reserved.