| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.sitools.security.captcha.Captcha
public class Captcha
Sitools Captcha
| Constructor Summary | |
|---|---|
| Captcha(int width,
        int height,
        int length)Constructor | |
| Method Summary | |
|---|---|
|  boolean | check(java.lang.String response)Compare internal masked answer with a response. | 
|  java.lang.String | getAnswer()get the answer of the captcha | 
|  java.lang.String | getId()Get captcha identifier | 
|  java.awt.image.BufferedImage | getImage()Get the generated image. | 
|  long | getTimeMillis()get SystemTimeMillis at Captcha new instance Time. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Captcha(int width,
               int height,
               int length)
width - int width in pixel of the required generated imageheight - int heigth in pixem of the required generated imagelength - int number of characters for the generated answer| Method Detail | 
|---|
public java.lang.String getId()
public java.awt.image.BufferedImage getImage()
public long getTimeMillis()
public boolean check(java.lang.String response)
response - String
public java.lang.String getAnswer()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||