Package org.ametys.core.captcha
Class SoundCaptchaReader
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.reading.AbstractReader
-
- org.ametys.core.captcha.SoundCaptchaReader
-
- All Implemented Interfaces:
Poolable
,Recyclable
,Component
,LogEnabled
,Reader
,SitemapModelComponent
,SitemapOutputComponent
public class SoundCaptchaReader extends AbstractReader
Generates a sound captcha to WAV format and set it in request attributes
-
-
Field Summary
-
Fields inherited from class org.apache.cocoon.reading.AbstractReader
objectModel, out, parameters, resolver, source
-
-
Constructor Summary
Constructors Constructor Description SoundCaptchaReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
generate()
-
Methods inherited from class org.apache.cocoon.reading.AbstractReader
getLastModified, getMimeType, recycle, setOutputStream, setup, shouldSetContentLength
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Constructor Detail
-
SoundCaptchaReader
public SoundCaptchaReader()
-
-
Method Detail
-
generate
public void generate() throws IOException, SAXException, ProcessingException
-
-