Class UrlConnectionMgr.Test

  extended by
Enclosing class:

public static class UrlConnectionMgr.Test
extends Object

A standalone test class. The results of the UrlConnectionMgr.getComponent(int) method for any or all available components is retrieved.

Constructor Summary
Method Summary
static void main(String[] args)
          Main program for this standalone test class.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public UrlConnectionMgr.Test()
Method Detail


public static void main(String[] args)
                 throws IOException
Main program for this standalone test class.

Usage: java [ -Dt=componentType ] UrlConnectionMgr$Test url

By default, runs through all values for UrlConnectionMgr.getComponent(int), printing the results on stdout. If a componentType is specified, just that component is retrieved allowable values are 0 to the last defined component number.

args - URL
IOException - if any problem reading URL.

CleanCode Java Libraries Copyright © 2001-2012 Michael Sorens - Revised 2012.12.10 Get CleanCode at Fast, secure and Free Open Source software downloads