public boolean apply(String line) {
return !line.contains("Opera Preferences version");
}
});
Config config = new Config();
// This config setting makes sure we can handle pref lines without
// '=' chars in them. Such prefs will be treated as having value null.
config.setEmptyOption(true);
// This config setting makes sure we can handle pref lines with '\' in them.
config.setEscape(false);
Ini ini = new Ini();
ini.setConfig(config);
ini.load(new StringReader(Joiner.on("\n").join(filteredLines)));
return ini;
} catch (IOException e) {