I made a Configuration reader class for flatfile formats if you don't like YAML or don't want to use a complex XML-Parser. An example for a flatfile configuration file: Code: #Next is a string Hello=I welcome you #this is an integer count=10 #this is a boolean selfdestruct=false The FlatFileReader Class parses this type of configuration and provides a key-based access to the values. To read values from the file, create a new Instance of the FlatFileReader: Code: //FlatFileReader(File file, boolean caseSensitive) reader = new FlatFileReader(new File("path/to/config.cfg"), true); The second argument decides if the file should be read case-sensitive or not. After that, you can read all the values by these methods: String getString(String key, String fallback) int getInteger(String key, int fallback) double getDouble(String key, double fallback) float getFloat(String key, float fallback) boolean getBoolean(String key, boolean fallback) As you can see, all the methods require the key and also a fallback. The fallback-value is returned when the key hasn't been found or the conversion from to the specific datatype has failed. For the example above, the file could be parsed like this: Code: String hello = reader.getString("Hello", "Hello World"); int count = reader.getInteger("count", 2); boolean selfDestruct = reader.getBoolean("selfdestruct", false); You can get the source of the file here: View Source Download .java You can always ask me to add new datatypes, if they are generic enough. You are also free to modify the file if you want to.