aQute.bnd.osgi.Builder.getDoNotCopy()方法的使用及代码示例

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

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

Builder.getDoNotCopy介绍

暂无

代码示例

代码示例来源:origin: biz.aQute.bnd/biz.aQute.bndlib

/**
 * doNotCopy The doNotCopy variable maintains a patter for files that should
 * not be copied. There is a default {@link #DEFAULT_DO_NOT_COPY} but this
 * ca be overridden with the {@link Constants#DONOTCOPY} property.
 */
public boolean doNotCopy(String v) {
  return getDoNotCopy().matcher(v)
    .matches();
}

代码示例来源:origin: biz.aQute/bndlib

/**
 * doNotCopy The doNotCopy variable maintains a patter for files that should
 * not be copied. There is a default {@link #DEFAULT_DO_NOT_COPY} but this
 * ca be overridden with the {@link Constants#DONOTCOPY} property.
 */
public boolean doNotCopy(String v) {
  return getDoNotCopy().matcher(v).matches();
}

代码示例来源:origin: biz.aQute.bnd/bndlib

/**
 * doNotCopy The doNotCopy variable maintains a patter for files that should
 * not be copied. There is a default {@link #DEFAULT_DO_NOT_COPY} but this
 * ca be overridden with the {@link Constants#DONOTCOPY} property.
 */
public boolean doNotCopy(String v) {
  return getDoNotCopy().matcher(v).matches();
}

代码示例来源:origin: biz.aQute.bnd/biz.aQute.bnd

/**
 * doNotCopy The doNotCopy variable maintains a patter for files that should
 * not be copied. There is a default {@link #DEFAULT_DO_NOT_COPY} but this
 * ca be overridden with the {@link Constants#DONOTCOPY} property.
 */
public boolean doNotCopy(String v) {
  return getDoNotCopy().matcher(v)
    .matches();
}

代码示例来源:origin: biz.aQute.bnd/bnd

/**
 * doNotCopy The doNotCopy variable maintains a patter for files that should
 * not be copied. There is a default {@link #DEFAULT_DO_NOT_COPY} but this
 * ca be overridden with the {@link Constants#DONOTCOPY} property.
 */
public boolean doNotCopy(String v) {
  return getDoNotCopy().matcher(v).matches();
}

代码示例来源:origin: biz.aQute.bnd/bndlib

/**
 * Create a report of the settings
 * @throws Exception
 */
public void report(Map<String,Object> table) throws Exception {
  build();
  super.report(table);
  table.put("Do Not Copy", getDoNotCopy());
  table.put("Git head", _githead( new String[]{"githead"}));
}

代码示例来源:origin: biz.aQute.bnd/bnd

/**
 * Create a report of the settings
 * @throws Exception
 */
public void report(Map<String,Object> table) throws Exception {
  build();
  super.report(table);
  table.put("Do Not Copy", getDoNotCopy());
  table.put("Git head", _githead( new String[]{"githead"}));
}

代码示例来源:origin: biz.aQute.bnd/biz.aQute.bndlib

/**
 * Create a report of the settings
 * 
 * @throws Exception
 */
@Override
public void report(Map<String, Object> table) throws Exception {
  build();
  super.report(table);
  table.put("Do Not Copy", getDoNotCopy());
  table.put("Git head", _githead(new String[] {
    "githead"
  }));
}

代码示例来源:origin: biz.aQute.bnd/biz.aQute.bnd

/**
 * Create a report of the settings
 * 
 * @throws Exception
 */
@Override
public void report(Map<String, Object> table) throws Exception {
  build();
  super.report(table);
  table.put("Do Not Copy", getDoNotCopy());
  table.put("Git head", _githead(new String[] {
    "githead"
  }));
}

代码示例来源:origin: biz.aQute.bnd/biz.aQute.bndlib

private String doResourceDirectory(Jar jar, Map<String, String> extra, Instructions preprocess, File sourceFile,
  String destinationPath) throws Exception {
  String filter = extra.get("filter:");
  boolean flatten = isTrue(extra.get("flatten:"));
  boolean recursive = true;
  String directive = extra.get("recursive:");
  if (directive != null) {
    recursive = isTrue(directive);
  }
  Instruction.Filter iFilter = null;
  if (filter != null) {
    iFilter = new Instruction.Filter(new Instruction(filter), recursive, getDoNotCopy());
  } else {
    iFilter = new Instruction.Filter(null, recursive, getDoNotCopy());
  }
  Map<String, File> files = newMap();
  resolveFiles(sourceFile, iFilter, recursive, destinationPath, files, flatten);
  for (Map.Entry<String, File> entry : files.entrySet()) {
    copy(jar, entry.getKey(), entry.getValue(), preprocess, extra);
  }
  return destinationPath;
}

代码示例来源:origin: biz.aQute/bndlib

private String doResourceDirectory(Jar jar, Map<String,String> extra, boolean preprocess, File sourceFile,
    String destinationPath) throws Exception {
  String filter = extra.get("filter:");
  boolean flatten = isTrue(extra.get("flatten:"));
  boolean recursive = true;
  String directive = extra.get("recursive:");
  if (directive != null) {
    recursive = isTrue(directive);
  }
  Instruction.Filter iFilter = null;
  if (filter != null) {
    iFilter = new Instruction.Filter(new Instruction(filter), recursive, getDoNotCopy());
  } else {
    iFilter = new Instruction.Filter(null, recursive, getDoNotCopy());
  }
  Map<String,File> files = newMap();
  resolveFiles(sourceFile, iFilter, recursive, destinationPath, files, flatten);
  for (Map.Entry<String,File> entry : files.entrySet()) {
    copy(jar, entry.getKey(), entry.getValue(), preprocess, extra);
  }
  return destinationPath;
}

代码示例来源:origin: biz.aQute.bnd/biz.aQute.bnd

private String doResourceDirectory(Jar jar, Map<String, String> extra, Instructions preprocess, File sourceFile,
  String destinationPath) throws Exception {
  String filter = extra.get("filter:");
  boolean flatten = isTrue(extra.get("flatten:"));
  boolean recursive = true;
  String directive = extra.get("recursive:");
  if (directive != null) {
    recursive = isTrue(directive);
  }
  Instruction.Filter iFilter = null;
  if (filter != null) {
    iFilter = new Instruction.Filter(new Instruction(filter), recursive, getDoNotCopy());
  } else {
    iFilter = new Instruction.Filter(null, recursive, getDoNotCopy());
  }
  Map<String, File> files = newMap();
  resolveFiles(sourceFile, iFilter, recursive, destinationPath, files, flatten);
  for (Map.Entry<String, File> entry : files.entrySet()) {
    copy(jar, entry.getKey(), entry.getValue(), preprocess, extra);
  }
  return destinationPath;
}

代码示例来源:origin: biz.aQute.bnd/bndlib

private String doResourceDirectory(Jar jar, Map<String,String> extra, Instructions preprocess, File sourceFile,
    String destinationPath) throws Exception {
  String filter = extra.get("filter:");
  boolean flatten = isTrue(extra.get("flatten:"));
  boolean recursive = true;
  String directive = extra.get("recursive:");
  if (directive != null) {
    recursive = isTrue(directive);
  }
  Instruction.Filter iFilter = null;
  if (filter != null) {
    iFilter = new Instruction.Filter(new Instruction(filter), recursive, getDoNotCopy());
  } else {
    iFilter = new Instruction.Filter(null, recursive, getDoNotCopy());
  }
  Map<String,File> files = newMap();
  resolveFiles(sourceFile, iFilter, recursive, destinationPath, files, flatten);
  for (Map.Entry<String,File> entry : files.entrySet()) {
    copy(jar, entry.getKey(), entry.getValue(), preprocess, extra);
  }
  return destinationPath;
}

代码示例来源:origin: biz.aQute.bnd/bnd

private String doResourceDirectory(Jar jar, Map<String,String> extra, Instructions preprocess, File sourceFile,
    String destinationPath) throws Exception {
  String filter = extra.get("filter:");
  boolean flatten = isTrue(extra.get("flatten:"));
  boolean recursive = true;
  String directive = extra.get("recursive:");
  if (directive != null) {
    recursive = isTrue(directive);
  }
  Instruction.Filter iFilter = null;
  if (filter != null) {
    iFilter = new Instruction.Filter(new Instruction(filter), recursive, getDoNotCopy());
  } else {
    iFilter = new Instruction.Filter(null, recursive, getDoNotCopy());
  }
  Map<String,File> files = newMap();
  resolveFiles(sourceFile, iFilter, recursive, destinationPath, files, flatten);
  for (Map.Entry<String,File> entry : files.entrySet()) {
    copy(jar, entry.getKey(), entry.getValue(), preprocess, extra);
  }
  return destinationPath;
}

相关文章

Builder类方法