1 18 19 package org.apache.tools.ant.taskdefs; 20 21 import java.io.IOException ; 22 import java.io.InputStream ; 23 import java.io.OutputStream ; 24 25 31 public interface ExecuteStreamHandler { 32 33 40 void setProcessInputStream(OutputStream os) throws IOException ; 41 42 48 void setProcessErrorStream(InputStream is) throws IOException ; 49 50 56 void setProcessOutputStream(InputStream is) throws IOException ; 57 58 62 void start() throws IOException ; 63 64 67 void stop(); 68 } 69 | Popular Tags |