jgd.register
Class DiskCookieStore
java.lang.Object
jgd.register.DiskCookieStore
- All Implemented Interfaces:
- ICookieStore
public class DiskCookieStore
- extends java.lang.Object
- implements ICookieStore
Field Summary |
private java.lang.String |
cookie
|
private java.io.File |
file
|
private static java.lang.String |
FILENAME
|
private java.lang.String |
GUID
|
protected static org.apache.commons.logging.Log |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.apache.commons.logging.Log log
FILENAME
private static final java.lang.String FILENAME
- See Also:
- Constant Field Values
cookie
private java.lang.String cookie
GUID
private java.lang.String GUID
file
private java.io.File file
DiskCookieStore
public DiskCookieStore()
throws JGDError
- Throws:
JGDError
readCookie
private void readCookie()
throws java.io.IOException
- Throws:
java.io.IOException
writeCookie
private void writeCookie()
throws java.io.IOException
- Throws:
java.io.IOException
getCookie
public java.lang.String getCookie()
- Specified by:
getCookie
in interface ICookieStore
getGUID
public java.lang.String getGUID()
- Specified by:
getGUID
in interface ICookieStore
saveCookie
public void saveCookie(java.lang.String GUID,
java.lang.String cookie)
- Specified by:
saveCookie
in interface ICookieStore
removeCookie
public void removeCookie()
- Specified by:
removeCookie
in interface ICookieStore
Copyright © 2007