0

I want to access a properties file placed in a folder,which is at the project level .Means the .properties file will not be part of any package. The structure would be like below.

Project 
      Src
        package1
         |
         ------file1.java
        package2
          |
          -----file2.java
SimpleFolder
   |       
    -----myfile.properties

now from file1.java,I want to access the myfile.properties file values.

Please help me out if any one can

Sotirios Delimanolis
  • 274,122
  • 60
  • 696
  • 724
Praveen
  • 201
  • 5
  • 18
  • Already answered : http://stackoverflow.com/questions/11251289/how-to-read-a-properties-file-in-java-from-outside-the-class-folder http://stackoverflow.com/questions/8775303/read-properties-file-outside-jar-file – Sayyid Sep 30 '14 at 16:17
  • Hi Sayyid thanks for your reply.but I want to access the values using resource bundle and locale objects only.Any solution – Praveen Sep 30 '14 at 16:55

0 Answers0