F
Frederick Smith
Hi there ... I am a bit new to this, and I have probably misunderstood the
use of the "toUrl" function - or I should not be using it at all
I have a program which reads a line of text from a file, and I would then
like to convert the resulting string to a URL, so I can read from that
location, and then get the next location from the file.
If I hard code the url in to the InputStreamReader the thing works ok and
reads from a single URL, but if I try to use the string which I read from
the file as a URL, I get all sort of error messages.
Any suggestions ?
frederick
use of the "toUrl" function - or I should not be using it at all
I have a program which reads a line of text from a file, and I would then
like to convert the resulting string to a URL, so I can read from that
location, and then get the next location from the file.
If I hard code the url in to the InputStreamReader the thing works ok and
reads from a single URL, but if I try to use the string which I read from
the file as a URL, I get all sort of error messages.
Any suggestions ?
frederick