com.octo.captcha.component.image.utils
Class ToolkitFactory
java.lang.Object
com.octo.captcha.component.image.utils.ToolkitFactory
public class ToolkitFactory
- extends java.lang.Object
Description: This Factory is used in order to switch from the java.awt.Toolkit component to other implementation
like PJA Toolkit. By default this factory return the java.awt.Toolkit
object. But if the the parameter toolkit.implementation is fixed as a parameter of the virtual machine with the value
of the class name of another implementation of Toolkit, this factory return an implementation of this class. For
exemple if you set to your virtual machine -Dtoolkit.implementation=com.eteks.awt.PJAToolkit, the factory returns an
implementation of com.eteks.awt.PJAToolkit
see http://www.geocities.com/marcoschmidt.geo/java-image-faq.html#x for more info.
Method Summary |
static java.awt.Toolkit |
getToolkit()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOOLKIT_IMPL
public static java.lang.String TOOLKIT_IMPL
ToolkitFactory
public ToolkitFactory()
getToolkit
public static java.awt.Toolkit getToolkit()
Copyright 2003-2009 JCaptcha. All Rights Reserved.