org.apache.jackrabbit.vault.fs.api.WorkspaceFilter.dump()方法的使用及代码示例

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

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

WorkspaceFilter.dump介绍

[英]Dumps the coverage of this filter against the given node to the listener.
[中]将此筛选器对给定节点的覆盖率转储到侦听器。

代码示例

代码示例来源:origin: org.apache.jackrabbit.vault/org.apache.jackrabbit.vault

public void dumpConfig(PrintWriter out) throws IOException {
  DumpContext ctx = new DumpContext(out);
  ctx.println(false, "workspace filter");
  ctx.indent(false);
  workspaceFilter.dump(ctx, true);
  ctx.outdent();
  aggregatorProvider.dump(ctx, false);
  ctx.println(true, "handlers");
  ctx.indent(true);
  for (Iterator<ArtifactHandler> iter = artifactHandlers.iterator(); iter.hasNext();) {
    ArtifactHandler h = iter.next();
    h.dump(ctx, !iter.hasNext());
  }
  ctx.outdent();
  ctx.flush();
}

代码示例来源:origin: org.apache.jackrabbit.vault/vault-vlt

DumpContext dc = new DumpContext(new PrintWriter(ctx.getStdout()));
dc.println("Filter");
ctx.getMetaInf().getFilter().dump(dc, true);
dc.outdent();
dc.flush();

相关文章