This program also converts the Filename Path into URL. It reads a file name and converted into the URL.
The toURL() method of the File class is used to convert the file name path into the URL. This is done by creating the instance of the URL class with the toURL() method of the File class.
Here is the code of Convert the Filename Path into URL Program :
We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.
Posted on: April 16, 2007 If you enjoyed this post then why not add us on Google+? Add us to your Circles