本文整理了Java中org.apache.tools.ant.Project.getDefaultInputStream()
方法的一些代码示例,展示了Project.getDefaultInputStream()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Project.getDefaultInputStream()
方法的具体详情如下:
包路径:org.apache.tools.ant.Project
类名称:Project
方法名:getDefaultInputStream
[英]Get this project's input stream.
[中]获取此项目的输入流。
代码示例来源:origin: apache/groovy
if (currentStreamCount == 0) {
savedProjectInputStream = project.getDefaultInputStream();
savedIn = System.in;
savedErr = System.err;
代码示例来源:origin: org.apache.ant/ant
/**
* Initialize a subproject.
* @param subProject the subproject to initialize.
*/
public void initSubProject(final Project subProject) {
ComponentHelper.getComponentHelper(subProject)
.initSubProject(ComponentHelper.getComponentHelper(this));
subProject.setDefaultInputStream(getDefaultInputStream());
subProject.setKeepGoingMode(this.isKeepGoingMode());
subProject.setExecutor(getExecutor().getSubProjectExecutor());
}
代码示例来源:origin: org.apache.ant/ant
/**
* Set up properties on the redirector that we needed to store locally.
*/
protected void setupRedirector() {
redirector.setInput(input);
redirector.setInputString(inputString);
redirector.setOutput(output);
redirector.setError(error);
if (redirectorElement != null) {
redirectorElement.configure(redirector);
}
if (!spawn && input == null && inputString == null) {
// #24918: send standard input to the process by default.
redirector.setInputStream(
new KeepAliveInputStream(getProject().getDefaultInputStream()));
}
}
代码示例来源:origin: com.thinkaurelius.groovy-shaded-asm/groovy-shaded-asm
InputStream savedProjectInputStream = project.getDefaultInputStream();
InputStream savedIn = System.in;
PrintStream savedErr = System.err;
代码示例来源:origin: org.codehaus.groovy/groovy-ant
if (currentStreamCount == 0) {
savedProjectInputStream = project.getDefaultInputStream();
savedIn = System.in;
savedErr = System.err;
代码示例来源:origin: org.kohsuke.droovy/groovy
InputStream savedProjectInputStream = project.getDefaultInputStream();
代码示例来源:origin: org.codehaus.groovy/groovy-all-minimal
InputStream savedProjectInputStream = project.getDefaultInputStream();
代码示例来源:origin: org.codehaus.groovy/groovy-jdk14
InputStream savedProjectInputStream = project.getDefaultInputStream();
内容来源于网络,如有侵权,请联系作者删除!