If you are using Java 1.7 (SE 7), you can use java.util.Properties. The java documentation provides a good explanation. Here is a code snippet:
String fileName = "/path/to/file/thePropertiesFileName.properties";
FileReader reader = new FileReader(fileName);
Properties prop = new Properties();
prop.load(reader);