wt.workflow.robots
Class WfURLRobotConnectionFactory

java.lang.Object
  extended bywt.workflow.robots.WfURLRobotConnectionFactory

public class WfURLRobotConnectionFactory
extends Object

This class is a factory whose sole purpose is to return the proper WfURLRobotConnection class. This will be one of the following... WfURLRobotHttpConnection - For standard HTTP to a remote server. WfURLRobotHttpsConnection - For standard HTTPS to a remote server. WfURLRobotFtpConnection - For passive FTP to a remote server.

Supported API: true

Extendable: false

See Also:
WfURLRobotConnection, wt.workflow.robots.WfURLRobotHTTPConnection

Field Summary
(package private) static boolean VERBOSE
           
private static String versionID
           
 
Constructor Summary
private WfURLRobotConnectionFactory()
           
 
Method Summary
static WfURLRobotConnection createConnection(URL wurl, String enc)
          Creates the appropriate type of WfURLRobotConnection class.
static void Log(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionID

private static final String versionID
See Also:
Constant Field Values

VERBOSE

static boolean VERBOSE
Constructor Detail

WfURLRobotConnectionFactory

private WfURLRobotConnectionFactory()
Method Detail

createConnection

public static WfURLRobotConnection createConnection(URL wurl,
                                                    String enc)
                                             throws InstantiationException,
                                                    ClassNotFoundException,
                                                    IllegalAccessException,
                                                    FailedURLException
Creates the appropriate type of WfURLRobotConnection class.



Supported API: true

Throws:
InstantiationException
ClassNotFoundException
IllegalAccessException
FailedURLException

Log

public static void Log(String s)