Coder's Guild Mailing List

Is there a cross platform way of loading local files in Java?

Posted by Frank Hale on 2000-06-04

I am writing a java application that needs to get
files from certain directories. I am writing this app
on a Windows box. However I don't want to have it
explicity get files by using hard coded file paths. I
would like this app to run on multiple platforms
without the need to change any code. How can I get the
files I need without causing errors when run on other
systems such as Linux, Solaris, etc....????

Thanks,
Frank





=====
ICQ: 7205161
http://sapphire.sourceforge.net - Another X11 Window Manager

__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com