本文整理了Java中org.dataconservancy.ui.model.DataItem.setFiles()
方法的一些代码示例,展示了DataItem.setFiles()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。DataItem.setFiles()
方法的具体详情如下:
包路径:org.dataconservancy.ui.model.DataItem
类名称:DataItem
方法名:setFiles
[英]Attach to a list of file to be associated to the data set
[中]附加到要与数据集关联的文件列表
代码示例来源:origin: org.dataconservancy.ui/dcs-ui-mapper
dataItem.setFiles(null);
xstream.toXML(dataItem, fos);
dataItem.setFiles(files);
} catch (IOException e) {
String path = null;
代码示例来源:origin: org.dataconservancy.ui/dcs-ui-mapper
InputStream fis = new URL(dataSetMetadataFile.getSource()).openStream();
ds = (DataItem)xstream.fromXML(fis);
ds.setFiles(null); // this should be empty, as it will be populated by the archive
} catch (Exception e) {
final String msg = "Error retrieving stream '" + dataSetMetadataFile.getSource() + "' from the archive: " + e.getMessage();
代码示例来源:origin: org.dataconservancy.dcs/dcs-ui-model
this.depositorID = depositor;
this.depositDate = depositDate;
setFiles(files);
this.parentId = parentId;
setAlternateIds(alternateIds);
代码示例来源:origin: org.dataconservancy.model/dcs-ui-model
this.depositorID = depositor;
this.depositDate = depositDate;
setFiles(files);
this.parentId = parentId;
setAlternateIds(alternateIds);
代码示例来源:origin: org.dataconservancy.dcs/dcs-ui-model-builder-xstream
dataItemObject.setFiles(fileList);
代码示例来源:origin: org.dataconservancy.model/dcs-ui-model-builder-xstream
dataItemObject.setFiles(fileList);
代码示例来源:origin: org.dataconservancy.model/dcs-ui-model-builder-xstream
dataItemObject.setFiles(fileList);
} else if (ename.equals(E_PARENT_ID)) {
final String value = reader.getValue();
代码示例来源:origin: org.dataconservancy.dcs/dcs-ui-model-builder-xstream
dataItemObject.setFiles(fileList);
} else if (ename.equals(E_PARENT_ID)) {
final String value = reader.getValue();
内容来源于网络,如有侵权,请联系作者删除!