jgd.register
Class DiskCookieStore

java.lang.Object
  extended by 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
           
 
Constructor Summary
DiskCookieStore()
           
 
Method Summary
 java.lang.String getCookie()
           
 java.lang.String getGUID()
           
private  void readCookie()
           
 void removeCookie()
           
 void saveCookie(java.lang.String GUID, java.lang.String cookie)
           
private  void writeCookie()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

DiskCookieStore

public DiskCookieStore()
                throws JGDError
Throws:
JGDError
Method Detail

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