public final class CensoringWordGenerator extends Object implements com.octo.captcha.component.word.wordgenerator.WordGenerator
Constructor and Description |
---|
CensoringWordGenerator(com.octo.captcha.component.word.wordgenerator.WordGenerator censoredWordGenerator)
Constructs a censoring word generator that censors the given word generator.
|
Modifier and Type | Method and Description |
---|---|
String |
getWord(Integer length) |
String |
getWord(Integer length,
Locale locale) |
public CensoringWordGenerator(com.octo.captcha.component.word.wordgenerator.WordGenerator censoredWordGenerator)
censoredWordGenerator
- the word generator that will be censored. Must not be null.Copyright © 2003–2020 Atlassian. All rights reserved.