Monday, August 16, 2004 06:54 AM
MyClass.class.getResourceAsStream("/myFile") points to a file accessible as a resource within my app. Now I need to access a
deployed with my app and iteratively do something with each file contained in it.
File folder = new File(new java.net.URI(MyClass.class.getResource("/myFolder").toString()));
really the only way to do this? it seams a bit messy, especially this URL>URI conversion business?...
Thanks for your help