org.apache.tools.ant.util
Class KeepAliveInputStream
FilterInputStream
org.apache.tools.ant.util.KeepAliveInputStream
public class KeepAliveInputStream
extends FilterInputStream
Class that can be used to wrap
System.in
without getting anxious about any client closing the stream.
In code-language it means that it is not necessary to do:
if (out != System.in) {
in.close();
}
- Ant 1.6
void | close() - this method does nothing
|
KeepAliveInputStream
public KeepAliveInputStream(InputStream in)
close
public void close()
throws IOException
this method does nothing
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.