6 Replies Latest reply on Mar 26, 2013 4:26 PM by MFadel

    Unable to find method:  copy(java.io.InputStream,java.io.OutputStream)


      I'm trying to download a file using this link [tompeez.wordpress.com/tag/affiledownloadactionlistener/].

      The code contains a method that copies data from the BLOB to the output stream:

      IOUtils.copy(blob.getInputStream(), outputStream);

      I'm getting the following compilation: errorError(40,18): cannot find method copy(java.io.InputStream,java.io.OutputStream).

      I tried importing many packages, but nothing worked.

      Any thoughts?