public class IniDocumentCreator extends Object implements DocumentCreator<FileObject>
Constructor and Description |
---|
IniDocumentCreator() |
Modifier and Type | Method and Description |
---|---|
Document |
getDocument(String type,
FileObject data,
Object... arguments)
将数据转换成索引文档
|
String |
getEncode() |
TemplateDocumentCreator |
getTemplateDocumentCreator() |
boolean |
isMatch(FileObject data)
判断本文档生成器能否处理此数据
|
void |
setEncode(String encode) |
void |
setTemplateDocumentCreator(TemplateDocumentCreator templateDocumentCreator) |
public String getEncode()
public void setEncode(String encode)
public TemplateDocumentCreator getTemplateDocumentCreator()
public void setTemplateDocumentCreator(TemplateDocumentCreator templateDocumentCreator)
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.