org.apache.tools.ant.util
public class KeepAliveInputStream extends FilterInputStream
In code-language it means that it is not necessary to do:
if (out != System.in) { in.close(); }
Since: Ant 1.6
Constructor Summary | |
---|---|
KeepAliveInputStream(InputStream in)
Constructor of KeepAliveInputStream.
|
Method Summary | |
---|---|
void | close()
This method does nothing. |
Parameters: in an InputStream value, it should be standard input.
Throws: IOException as we are overridding FilterInputStream.