com.cleancode.net
Class UrlConnectionMgr.Test

java.lang.Object
  extended by com.cleancode.net.UrlConnectionMgr.Test
Enclosing class:
UrlConnectionMgr

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
UrlConnectionMgr.Test()
           
 
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

UrlConnectionMgr.Test

public UrlConnectionMgr.Test()
Method Detail

main

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.

Parameters:
args - URL
Throws:
IOException - if any problem reading URL.


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