Class WinFirefoxProfileSource
java.lang.Object
com.github.markusbernhardt.proxy.search.browser.firefox.WinFirefoxProfileSource
- All Implemented Interfaces:
FirefoxProfileSource
Finds the Firefox profile on Windows platforms. On Windows the profiles are located in the users appdata directory
under:
Mozilla\Firefox\Profiles\
The location of the appdata folder is read from the windows registry.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate String
Reads the current location of the app data folder from the registry.Get profiles.ini for the Windows Firefox profile
-
Constructor Details
-
WinFirefoxProfileSource
public WinFirefoxProfileSource()Constructor
-
-
Method Details
-
getAppFolder
Reads the current location of the app data folder from the registry.- Returns:
- a path to the folder.
-
getProfilesIni
Get profiles.ini for the Windows Firefox profile- Specified by:
getProfilesIni
in interfaceFirefoxProfileSource
- Returns:
- the config folder.
- Throws:
IOException
- on error.
-