edu.isi.karma.rep.Worksheet.getEncoding()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(2.7k)|赞(0)|评价(0)|浏览(117)

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

Worksheet.getEncoding介绍

暂无

代码示例

代码示例来源:origin: usc-isi-i2/Web-Karma

public void generateWorksheetListJson(String prefix, PrintWriter pw) {
    pw.println(prefix + "{");
    String newPref = prefix + "  ";

    pw.println(newPref
        + JSONUtil.json(WorksheetListUpdate.JsonKeys.worksheetId, this.getWorksheetId()));
    pw.println(newPref
        + JSONUtil.json(WorksheetListUpdate.JsonKeys.isUpToDate, upToDate));
    pw.println(newPref
        + JSONUtil.json(WorksheetListUpdate.JsonKeys.isCollapsed, collapsed));

    pw.println(newPref
        + JSONUtil.json(WorksheetListUpdate.JsonKeys.encoding,
            worksheet.getEncoding()));
    pw.println(newPref
        + JSONUtil.jsonLast(WorksheetListUpdate.JsonKeys.title,
            worksheet.getTitle()));

    
    pw.println(prefix + "}");
  }
}

代码示例来源:origin: usc-isi-i2/Web-Karma

private Worksheet groupByTopLevel(Worksheet oldws, Workspace workspace, List<String> hnodeIDs, List<HNode> keyhnodes, List<HNode> valuehnodes, RepFactory factory) {
  SuperSelection selection = getSuperSelection(oldws);
  Worksheet newws = factory.createWorksheet("GroupBy: " + oldws.getTitle(), workspace, oldws.getEncoding());
  newws.getMetadataContainer().getWorksheetProperties().setPropertyValue(Property.sourceType, oldws.getMetadataContainer().getWorksheetProperties().getPropertyValue(Property.sourceType));
  HTable newht =  newws.getHeaders();

代码示例来源:origin: usc-isi-i2/Web-Karma

private Worksheet unfoldTopLevel(Worksheet oldws, String keyHNodeid, String valueHNodeid, Workspace workspace, RepFactory factory) {
  Worksheet newws = factory.createWorksheet("Unfold: " + oldws.getTitle(), workspace, oldws.getEncoding());
  SuperSelection selection = getSuperSelection(oldws);
  newws.getMetadataContainer().getWorksheetProperties().setPropertyValue(Property.sourceType, oldws.getMetadataContainer().getWorksheetProperties().getPropertyValue(Property.sourceType));

代码示例来源:origin: usc-isi-i2/Web-Karma

String encoding = wk.getEncoding();
invocatioManager = new InvocationManager(getUrlColumnName(wk), requestIds, requestURLStrings, encoding);
logger.info("Requesting data with includeURL=" + true + ",includeInput=" + true + ",includeOutput=" + true);

代码示例来源:origin: usc-isi-i2/Web-Karma

Worksheet wk = workspace.getWorksheet(worksheetId);
SuperSelection selection = getSuperSelection(wk);
String encoding = wk.getEncoding();

代码示例来源:origin: usc-isi-i2/Web-Karma

String encoding = getWorksheet().getEncoding();
workspace.removeWorksheet(getWorksheet().getId());
getFactory().removeWorksheet(getWorksheet().getId(), workspace.getCommandHistory());

相关文章