Class KdeSettingsParser
- java.lang.Object
-
- com.github.markusbernhardt.proxy.search.desktop.kde.KdeSettingsParser
-
public class KdeSettingsParser extends Object
Parser for the KDE settings file. The KDE proxy settings are stored in the file:.kde/share/config/kioslaverc
in the users home directory.- Author:
- Markus Bernhardt, Copyright 2016, Bernd Rosstauscher, Copyright 2009
-
-
Constructor Summary
Constructors Constructor Description KdeSettingsParser()ConstructorKdeSettingsParser(File settingsFile)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertiesparseSettings()Parse the settings file and extract all network.proxy.* settings from it.
-
-
-
Constructor Detail
-
KdeSettingsParser
public KdeSettingsParser()
Constructor
-
KdeSettingsParser
public KdeSettingsParser(File settingsFile)
Constructor- Parameters:
settingsFile- the settings file to use.
-
-
Method Detail
-
parseSettings
public Properties parseSettings() throws IOException
Parse the settings file and extract all network.proxy.* settings from it.- Returns:
- the parsed properties.
- Throws:
IOException- on read error.
-
-