Skip to main content

beginner question about properties obj and URL objects

1 reply [Last post]
adrian3a
Offline
Joined: 2006-02-17
Points: 0

I have an assignment due that is supposed to print out a Properties file or text file from the internet, that has all the names and values broken up(working with csv, txt, and properties files). The user types in an URL. My program works when they type in a .txt ending URL, but i dont get how to take an URL object and change it into a Properties object. Can you do this? If i can find a way to do this i will be able to finish my assignment. Thanx for any help you all can give.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
zander
Offline
Joined: 2003-06-13
Points: 0

the connection is in streams.
get a stream from a URL and put that in a properties object.
See the APi docs for more info, this is all I am willing to give :)