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 Details

    • KdeSettingsParser

      public KdeSettingsParser()
      Constructor
    • KdeSettingsParser

      public KdeSettingsParser(File settingsFile)
      Constructor
      Parameters:
      settingsFile - the settings file to use.
  • Method Details

    • 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.