Java web-file stream?
PostPosted: Sun Nov 16, 2008 11:24 pm
Hey, I just had a question... for my term project, I have to write a program (using either Java or JScript) that, given an arbitrary URL to an HTML file, saves the file as well as all the media objects embedded within the page (pictures, audio, and videos in particular).
Having never done any real web programming before, I'm a little curious on how to start with this. Does Java have an I/O stream that lets me grab files off the internet if I pass it a random URL? If so, I'd be very interested in that!
Having never done any real web programming before, I'm a little curious on how to start with this. Does Java have an I/O stream that lets me grab files off the internet if I pass it a random URL? If so, I'd be very interested in that!