com.octo.captcha.service.captchastore
Class CaptchaAndLocale

java.lang.Object
  extended by com.octo.captcha.service.captchastore.CaptchaAndLocale
All Implemented Interfaces:
java.io.Serializable

public class CaptchaAndLocale
extends java.lang.Object
implements java.io.Serializable

Composite object used as a container to store a captcha and the locale used to generate it.

See Also:
Serialized Form

Constructor Summary
CaptchaAndLocale(Captcha captcha)
           
CaptchaAndLocale(Captcha captcha, java.util.Locale locale)
           
 
Method Summary
 Captcha getCaptcha()
           
 java.util.Locale getLocale()
           
 void setCaptcha(Captcha captcha)
           
 void setLocale(java.util.Locale locale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaptchaAndLocale

public CaptchaAndLocale(Captcha captcha)

CaptchaAndLocale

public CaptchaAndLocale(Captcha captcha,
                        java.util.Locale locale)
Method Detail

getCaptcha

public Captcha getCaptcha()

setCaptcha

public void setCaptcha(Captcha captcha)

getLocale

public java.util.Locale getLocale()

setLocale

public void setLocale(java.util.Locale locale)


Copyright 2003-2009 JCaptcha. All Rights Reserved.