org.dspace.content.Bitstream.setUserFormatDescription()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(1.2k)|赞(0)|评价(0)|浏览(111)

本文整理了Java中org.dspace.content.Bitstream.setUserFormatDescription()方法的一些代码示例,展示了Bitstream.setUserFormatDescription()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Bitstream.setUserFormatDescription()方法的具体详情如下:
包路径:org.dspace.content.Bitstream
类名称:Bitstream
方法名:setUserFormatDescription

Bitstream.setUserFormatDescription介绍

[英]Set the user's format description. This implies that the format of the bitstream is uncertain, and the format is set to "unknown."
[中]设置用户的格式说明。这意味着比特流的格式不确定,并且格式设置为“未知”

代码示例

代码示例来源:origin: DSpace/DSpace

newBitstream.setFormat(context, bitstream.getFormat(context));
newBitstream.setSource(context, bitstream.getSource());
newBitstream.setUserFormatDescription(context, bitstream
  .getUserFormatDescription());
bitstreamService.update(context, newBitstream);

代码示例来源:origin: DSpace/DSpace

bitstream.setDescription(context, value);
} else if (dcField.equals("format")) {
  bitstream.setUserFormatDescription(context, value);
} else if (dcField.equals("format.medium")) {
  bsfShortName = value;

代码示例来源:origin: org.dspace/dspace-jspui-api

bitstream.setUserFormatDescription(userFormatDesc);

代码示例来源:origin: org.dspace/dspace-xmlui-api

bitstream.setUserFormatDescription(userFormat);

相关文章