[EMAIL PROTECTED] <[EMAIL PROTECTED]> [051208 23:27]:
> There are probably many ways of doing this (I don't know of any "standard" 
> way though). Here's some code which i use to populate a Properties object 
> from a file:
> 
> String xpdlPropertiesFileName = "xpdl.properties"; //file should be in the 
> class path..
> InputStream is = null;
> ClassLoader loader = Thread.currentThread().getContextClassLoader();
> is = loader.getResourceAsStream(xpdlPropertiesFileName);

Thanks, I tried this and it works great!

Sebastian

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to