Skip to content

interface IDocumentRetriever

cangjie
public interface IDocumentRetriever

功能:定义配置文档读取接口。

成员概览

成员功能
func getDocument(String)读取指定地址的文档内容。

func getDocument(String)

cangjie
func getDocument(address: String): String

功能:读取指定地址的文档内容。

参数:

  • address: String - 文档地址。

返回值:

  • String - 返回读取到的文档字符串。