com.cleancode.net
Class UrlConnectionMgr.Test
java.lang.Object
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.
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
UrlConnectionMgr.Test
public UrlConnectionMgr.Test ()
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