[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] How to add a property file to the Classpath

Hi mates !

I want to know how can I put a property file in my project's classpath to use it like a ResourceBundle.

The property file is 'libreria.properties' and I try to recover it with:

private PropertyResourceBundle property = null;
property = (PropertyResourceBundle)  ResourceBundle.getBundle("libreria");

Any Idea out there ????

David Bonilla

Únase al mayor servicio mundial de correo electrónico: http://www.hotmail.com/es