本文整理了Java中org.dspace.app.util.Util.getSourceVersion()
方法的一些代码示例,展示了Util.getSourceVersion()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Util.getSourceVersion()
方法的具体详情如下:
包路径:org.dspace.app.util.Util
类名称:Util
方法名:getSourceVersion
[英]Gets Maven version string of the source that built this instance.
[中]获取生成此实例的源的Maven版本字符串。
代码示例来源:origin: DSpace/DSpace
public Status() {
setOkay(true);
setSourceVersion(Util.getSourceVersion());
String[] version = Util.getSourceVersion().split("\\.");
setApiVersion(version[0]); // major version
setAuthenticated(false);
}
代码示例来源:origin: DSpace/DSpace
Util.getSourceVersion());
代码示例来源:origin: DSpace/DSpace
zip.setComment("METS archive created by DSpace " + Util.getSourceVersion());
Mets manifest = makeManifest(context, dso, params, extraStreams);
代码示例来源:origin: DSpace/DSpace
Name creatorName = new Name();
creatorName.getContent()
.add(new PCData("DSpace " + Util.getSourceVersion()));
agentCreator.getContent().add(creatorName);
metsHdr.getContent().add(agentCreator);
代码示例来源:origin: org.dspace/dspace-xmlui-api
pageMeta.addMetadata("request","URI").addContent(request.getSitemapURI());
String dspaceVersion = Util.getSourceVersion();
if (dspaceVersion != null)
代码示例来源:origin: org.dspace/dspace-xmlui-api
pageMeta.addMetadata("request","URI").addContent(request.getSitemapURI());
String dspaceVersion = Util.getSourceVersion();
if (dspaceVersion != null)
代码示例来源:origin: org.dspace/dspace-xmlui-api
dspace.addItem(Util.getSourceVersion());
内容来源于网络,如有侵权,请联系作者删除!