Need to pull Jpg or Png files from a URL in Java -


i have been tasked write quickie reusable program in java pull 1000 jpg or png files url. not expert on java , frankly don't have time needed research. not asking write me point me @ best method java 7 or 8. looked @ past questions , found many different methods , several years old thought see if better way may available now.

it should simple as

try  {     image image = imageio.read(new url("www.example.com/image.png")); }  catch (exception e)  {     // handle exception } 

Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -