本文整理了Java中info.bliki.wiki.model.WikiModel.getRawWikiContent()
方法的一些代码示例,展示了WikiModel.getRawWikiContent()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WikiModel.getRawWikiContent()
方法的具体详情如下:
包路径:info.bliki.wiki.model.WikiModel
类名称:WikiModel
方法名:getRawWikiContent
暂无
代码示例来源:origin: edu.illinois.cs.cogcomp/wikipediaAPI-multilingual
/**
* Get the raw wiki text for the given namespace and article name. This model
* implementation uses a Derby database to cache downloaded wiki template
* texts.
*
* @param namespace
* the namespace of this article
* @param templateName
* the name of the template
* @param templateParameters
* if the namespace is the <b>Template</b> namespace, the current
* template parameters are stored as <code>String</code>s in this map
*
* @return <code>null</code> if no content was found
*
* @see info.bliki.api.User#queryContent(String[])
*/
@Override
public String getRawWikiContent(String namespace, String articleName, Map<String, String> templateParameters) {
String result = super.getRawWikiContent(namespace, articleName, templateParameters);
if (result != null) {
// found magic word template
return result;
}
return null;
}
代码示例来源:origin: edu.illinois.cs.cogcomp/wikipediaAPI
/**
* Get the raw wiki text for the given namespace and article name. This model
* implementation uses a Derby database to cache downloaded wiki template
* texts.
*
* @param namespace
* the namespace of this article
* @param templateName
* the name of the template
* @param templateParameters
* if the namespace is the <b>Template</b> namespace, the current
* template parameters are stored as <code>String</code>s in this map
*
* @return <code>null</code> if no content was found
*
* @see info.bliki.api.User#queryContent(String[])
*/
@Override
public String getRawWikiContent(String namespace, String articleName, Map<String, String> templateParameters) {
String result = super.getRawWikiContent(namespace, articleName, templateParameters);
if (result != null) {
// found magic word template
return result;
}
return null;
}
代码示例来源:origin: org.openfuxml/ofx-wiki
String result = super.getRawWikiContent(namespace, articleName, map);
if (result != null) {
return result;
内容来源于网络,如有侵权,请联系作者删除!