|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ccg.net.URLConnections
public class URLConnections
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.
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 |
|---|
protected URLConnections()
| Method Detail |
|---|
public static URLConnections getInstance()
URLConnections object
URLConnections
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||