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

java - How to compare two classes -

javascript - Why Selenium can't find an element that is graphically visible -

c# - Get the Class name in a class with atribute inside a attribute method -