Home | History | Annotate | Download | only in filetransfer

Lines Matching full:inputstream

37  * method and then returns the <b><i>InputStream</b></i> to read the file

51 private InputStream inputStream;
63 * @return The negotiated InputStream from which to read the data.
67 public InputStream recieveFile() throws XMPPException {
68 if (inputStream != null) {
73 inputStream = negotiateStream();
80 return inputStream;
124 inputStream = negotiateStream();
135 writeToStream(inputStream, outputStream);
151 if (inputStream != null) {
153 inputStream.close();
177 private InputStream negotiateStream() throws XMPPException {
182 FutureTask<InputStream> streamNegotiatorTask = new FutureTask<InputStream>(
183 new Callable<InputStream>() {
185 public InputStream call() throws Exception {
191 InputStream inputStream;
193 inputStream = streamNegotiatorTask.get(15, TimeUnit.SECONDS);
208 return inputStream;