properties files is both key and values are String..
this file contain the static data using Java IO to retrive the values..
which situation you are had this problem abt properties files..
post ur Queries..
Create a Properties object.
Create a FileInputStream from the file in question.
Use Properties.load(), passing it the input stream.
Then use Properties.getProperty() to get the property you want.