Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java URL Quick & Dirty code  RSS feed

 
Anthony Smith
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I bascially wanted to write some code that would allow me to download all of the following images to my local computer from this url:
http://www.allaboutthehookup.com/images
 
Angel Dobbs-Sciortino
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's something quick that won't compile as is. You'll have to write the code for parsing the String and for reading and writing the binary data streams.
Angel
 
William Barnes
Ranch Hand
Posts: 1049
2
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Go to this page and scroll down to Example 7-1 It isn't exactly what you are looking for but it gives you a start.
All I did was google "java example code url" and that page was the first hit.
[ November 10, 2003: Message edited by: William Barnes ]
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!