public class TextDocumentCreator extends Object implements DocumentCreator<FileObject>
Constructor and Description |
---|
TextDocumentCreator() |
Modifier and Type | Method and Description |
---|---|
Document |
getDocument(String type,
FileObject data,
Object... arguments)
将数据转换成索引文档
|
String |
getEncode() |
boolean |
isMatch(FileObject data)
判断本文档生成器能否处理此数据
|
void |
setEncode(String encode) |
public String getEncode()
public void setEncode(String encode)
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>
Copyright © 2006–2018 TinyGroup. All rights reserved.