/** * Get the OutputStream. Please be aware that the implementation MAY use an internal buffer. To * make sure that the buffered data is sent over the tunnel, you have to call the <code>flush * </code> method of the <code>OutputStream</code>. To signal EOF, please use the <code>close * </code> method of the <code>OutputStream</code>. * * @return An <code>OutputStream</code> object. * @throws IOException */ public OutputStream getOutputStream() throws IOException { return cn.getStdinStream(); }
/** * @return An <code>InputStream</code> object. * @throws IOException */ public InputStream getInputStream() throws IOException { return cn.getStdoutStream(); }