Class PaleMoonCookies
- java.lang.Object
-
- ch.supertomcat.supertomcatutils.http.cookies.palemoon.PaleMoonCookies
-
public final class PaleMoonCookies extends Object
Class for reading cookies of Pale Moon
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<BrowserCookie>getCookiesFromPaleMoon(String domain, String[] hosts, String[] paths, String cookieFile)Returns cookies from Pale Moon Because of problems, when two thread are trying to read cookies from Pale Moon at the same time, i had to synchronize this method.static StringgetPathForPaleMoon()Returns the path where the cookie-file from Pale Moon is stored
-
-
-
Method Detail
-
getCookiesFromPaleMoon
public static List<BrowserCookie> getCookiesFromPaleMoon(String domain, String[] hosts, String[] paths, String cookieFile)
Returns cookies from Pale Moon Because of problems, when two thread are trying to read cookies from Pale Moon at the same time, i had to synchronize this method.- Parameters:
domain- Domainhosts- Hosts-Arraypaths- Paths-ArraycookieFile- CookieFile for PaleMoon- Returns:
- Cookies
-
getPathForPaleMoon
public static String getPathForPaleMoon()
Returns the path where the cookie-file from Pale Moon is stored- Returns:
- Path
-
-