PDA

View Full Version : ResourceBundle: files outside of classpath?



andrew222
January 6th, 2010, 11:12 PM
Hello,

I would like to know if there is a way for a ResourceBundle to access a .properties file that is outside of the application's classpath/JVM's current directory?

I know that I could use a java.util.Properties object and use FileInputStream to access a absolute file path, but I prefer to use a ResourceBundle.

Any suggestions are welcome.