com.google.code.kaptcha.text.impl
Class DefaultTextCreator

java.lang.Object
  extended by com.google.code.kaptcha.util.Configurable
      extended by com.google.code.kaptcha.text.impl.DefaultTextCreator
All Implemented Interfaces:
TextProducer

public class DefaultTextCreator
extends Configurable
implements TextProducer

DefaultTextCreator creates random text from an array of characters with specified length.


Constructor Summary
DefaultTextCreator()
           
 
Method Summary
 java.lang.String getText()
           
 
Methods inherited from class com.google.code.kaptcha.util.Configurable
getConfig, setConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTextCreator

public DefaultTextCreator()
Method Detail

getText

public java.lang.String getText()
Specified by:
getText in interface TextProducer
Returns:
the random text


Copyright © 2010 Kaptcha. All Rights Reserved. Build version: 2.3.2