public ParseConfig(BufferedReader configFile) throws IOException {
		String line; 

		while ((line = configFile.readLine()) != null) {

			line = line.trim(); 
			String[] tokens = line.split("\\s"); //split on whitespace

			if (tokens.length < 2)
				continue; 

			if (line.charAt(0) == COMMENT)
				continue; 

			if (tokens[0].equals(USER_TOKEN)) {
                this.userName = tokens[1]; 
            }
            else if (tokens[0].equals(PASSWORD_TOKEN)) {
                this.password = tokens[1]; 
            }
            else if (tokens[0].equals(CONNECT_TOKEN)) {
                this.connectStr = tokens[1]; 
            }
            else if (tokens[0].equals(DRIVER_TOKEN)) {
                this.driverClass = tokens[1]; 
            }
        }
    }