All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.octo.captcha.engine.sound.DefaultSoundCaptchaEngine Maven / Gradle / Ivy

The newest version!
/*
 * JCaptcha, the open source java framework for captcha definition and integration
 * Copyright (c)  2007 jcaptcha.net. All Rights Reserved.
 * See the LICENSE.txt file distributed with this package.
 */

/*
 * jcaptcha, the open source java framework for captcha definition and integration
 * copyright (c)  2007 jcaptcha.net. All Rights Reserved.
 * See the LICENSE.txt file distributed with this package.
 */

/*
 * jcaptcha, the open source java framework for captcha definition and integration
 * copyright (c)  2007 jcaptcha.net. All Rights Reserved.
 * See the LICENSE.txt file distributed with this package.
 */
package com.octo.captcha.engine.sound;

import java.util.Arrays;

import com.octo.captcha.sound.SoundCaptchaFactory;

/**
 * 

*

*

* * @author Benoit Doumas */ public class DefaultSoundCaptchaEngine extends SoundCaptchaEngine { /** * Default constructor : takes an array of SoundCaptchaFactories. */ public DefaultSoundCaptchaEngine(final SoundCaptchaFactory[] factories) { checkNotNullOrEmpty(factories); this.factories = Arrays.asList(factories); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy