Hi,
I have a
Java program that currently opens an Excel file from my local hard drive.
I'm needing to change the programming so it will now open a file (always the same file) from a URL location.
I assume I should create an InputStream (see code below), but what do I do with the InputStream when my code is expecting a File object.
Any suggestions.
URL url = new URL("http://www.javaranch.com");
InputStream stream = url.openStream();
//How do I connect an InputStream to a File object?