org.apache.tools.ant.taskdefs.Delete.setFile()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(1.6k)|赞(0)|评价(0)|浏览(174)

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

Delete.setFile介绍

[英]Set the name of a single file to be removed.
[中]设置要删除的单个文件的名称。

代码示例

代码示例来源:origin: joel-costigliola/assertj-swing

private void delete(File outputFile) {
 if (!format.equals(FRAMES))
  return;
 Delete deleteTask = new Delete();
 deleteTask.bindToOwner(task);
 deleteTask.setFile(outputFile);
 deleteTask.execute();
}

代码示例来源:origin: org.assertj/assertj-swing-junit

private void delete(File outputFile) {
 if (!format.equals(FRAMES))
  return;
 Delete deleteTask = new Delete();
 deleteTask.bindToOwner(task);
 deleteTask.setFile(outputFile);
 deleteTask.execute();
}

代码示例来源:origin: com.github.goldin/maven-common

mydelete.setFile(tempFile.getCanonicalFile());
  mydelete.execute();
} catch (Exception e) {

代码示例来源:origin: org.apache.ant/ant-commons-net

mydelete.setFile(tempFile.getCanonicalFile());
  mydelete.execute();
} catch (Exception e) {

代码示例来源:origin: org.apache.ant/ant-commons-net

mydelete.setFile(tempFile.getCanonicalFile());
  mydelete.execute();
} catch (Exception e) {

代码示例来源:origin: de.unkrig/antology

mydelete.setFile(tempFile.getCanonicalFile());
  mydelete.execute();
} catch (Exception e) {

代码示例来源:origin: org.ow2.jonas/bootstrap-ant

Delete delete = new Delete();
delete.setProject(tempProject);
delete.setFile(src);
delete.execute();
Move mv =new Move();

代码示例来源:origin: org.apache.ant/ant-junit

Delete delete = new Delete();
delete.bindToOwner(task);
delete.setFile(outputFile);
delete.execute();

相关文章