|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.octo.captcha.CaptchaQuestionHelper
public final class CaptchaQuestionHelper
Helps to retrieve internationalized questions for captchas. Used by captcha factories.
Field Summary | |
---|---|
static java.lang.String |
BUNDLE_NAME
The bundle name used by this helper |
Method Summary | |
---|---|
static java.lang.String |
getQuestion(java.util.Locale locale,
java.lang.String key)
Return a localized question for the catpcha |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String BUNDLE_NAME
Method Detail |
---|
public static java.lang.String getQuestion(java.util.Locale locale, java.lang.String key)
locale
- the localekey
- the key to retrieve a localized question : should be the captcha name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |