title: How I can do it to show a image using a url with apache-poi
body: <p>I'm doing a class to show a image in a document .docx using this example:</p>
  
  <p><a href="https://stackoverflow.com/questions/7674115/how-to-add-a-picture-to-a-docx-document-with-apache-poi-xwpf-in-java">how to add a picture to a .docx document with Apache POI XWPF in java</a></p>
  
  <p>But I have one question is possible to use</p>
  
  <pre><code>String blipId = paragraphX.getDocument().addPictureData(
      new FileInputStream(
          new File("http://pasarelam.etics.lan/M/Wiki/img/LogoUAB.png")
      ),
      Document.PICTURE_TYPE_JPEG);
  document.createPicture(blipId, 
      document.getNextPicNameNumber(Document.PICTURE_TYPE_JPEG),
      200,
      75);
  </code></pre>
  
  <p>How I can do it to show a image using a url?</p>