Is it possible to Use Excel file as a resource bundle for java program?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you’re using Maven, there is a Maven plugin which claims to be able to do this (note that it is using XLS rather than XLSX format files). If you’re not using Maven, you could still have a peek around the source for some ideas.
If you really need to load the resources from an Excel document at runtime, you could create your own ResourceBundle class that delegates to Apache POI or another library capable of reading Excel files, but that seems like it might be a lot of work.