|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecterland.util.CookieStorage
public class CookieStorage
An implementation of StorageInterface
that uses a
cookie to store inforamtion
Constructor Summary | |
---|---|
CookieStorage(Applet applet,
String cookieName)
Creates a new instance that stores information in the specified cookie using the specified applet object |
Method Summary | |
---|---|
String |
load()
Read data from the storage as a string |
void |
save(String str)
Store the specified string |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CookieStorage(Applet applet, String cookieName)
applet
- The applet object to use when accessing the cookiecookieName
- The name of the cookie to store information inMethod Detail |
---|
public void save(String str)
StorageInterface
save
in interface StorageInterface
str
- String to storepublic String load()
StorageInterface
load
in interface StorageInterface
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |