public class CookieString
extends java.lang.Object
CookieMonster
,
cvs CookieString.javaConstructor and Description |
---|
CookieString()
Default constructor
|
CookieString(int cookie,
java.lang.String s)
Convienence constructor thata stuffs the attributes
|
Modifier and Type | Method and Description |
---|---|
int |
getCookie()
Get the Cookie that represents this string
|
java.lang.String |
getString()
Get the String
|
void |
setCookie(int cookie)
Set the Cookie that represents this string
|
void |
setString(java.lang.String s)
Set the String
|
public CookieString()
public CookieString(int cookie, java.lang.String s)
cookie
- The cookie to uses
- The String that made this cookiepublic int getCookie()
public void setCookie(int cookie)
cookie
- the cookie to setpublic java.lang.String getString()
public void setString(java.lang.String s)
s
- the s to set