com.ccg.net
Class URLConnections

java.lang.Object
  extended by com.ccg.net.URLConnections

public class URLConnections
extends Object

Loads all of the URL connection types supported.

This class provides a single place where Java applications can make sure that all of the URLConnection forms which are supported by this package (or its sub packages) will be available to the user via a standard URL form.

In particular, the "tcp://[HOST]:PORT/OPTIONS" URL will be made available to ALL Java classes.

To make use of this, you simply add the following line of code somewhere at the start of your application:

 com.ccg.net.URLConnections.getInstance();
 

The above line of code will make sure that the necessary classes are loaded such that the extra URL types supported by this package (and its sub-packages) will be available to your application.

Since:
1.0
Version:
$Revision: 1.1 $
Author:
$Author: pkb $
See Also:
URLConnection

Constructor Summary
protected URLConnections()
          Used to construct the single global instance of the class
 
Method Summary
static URLConnections getInstance()
          Get access to the global URLConnections object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLConnections

protected URLConnections()
Used to construct the single global instance of the class

Since:
1.0
Method Detail

getInstance

public static URLConnections getInstance()
Get access to the global URLConnections object

Returns:
Current URLConnections value assigned.
See Also:
URLConnections


Copyright 1998-1998-2006 null. All Rights Reserved.