|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.scheisseichfindemalkeinen.settings.CookieManager
public class CookieManager
Class which provides methods to get the cookies from a browser. The user can decide from which browser the cookies are read.
| Field Summary | |
|---|---|
static int |
BROWSER_FIREFOX
Cookies from Firefox |
static int |
BROWSER_IE
Cookies from Internet Explorer |
static int |
BROWSER_NO_COOKIES
No Cookies |
static int |
BROWSER_OPERA
Cookies from Opera |
static org.apache.log4j.Logger |
logger
Logger for this class |
| Constructor Summary | |
|---|---|
CookieManager()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getCookieFileForFirefox()
Returns the path to the cookie-file of Firefox 1 and Firefox 2 |
static java.lang.String |
getCookieFileForFirefox3()
Returns the path to the cookie-file of Firefox 3 |
static java.lang.String |
getCookieFileForOpera(boolean checkExist)
Returns the path to the cookie-file of Opera |
static java.lang.String |
getCookies(java.lang.String url)
Returns the Cookies for a domain |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int BROWSER_NO_COOKIES
public static final int BROWSER_IE
public static final int BROWSER_FIREFOX
public static final int BROWSER_OPERA
public static org.apache.log4j.Logger logger
| Constructor Detail |
|---|
public CookieManager()
| Method Detail |
|---|
public static java.lang.String getCookies(java.lang.String url)
url - URL
public static java.lang.String getCookieFileForFirefox()
public static java.lang.String getCookieFileForFirefox3()
public static java.lang.String getCookieFileForOpera(boolean checkExist)
checkExist - Check Existance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||