com.cleancode.net 
 
java.lang.Object 
  com.cleancode.net.SimpleHtmlParse.Test 
 
All Implemented Interfaces:  SimpleHtmlParse.Callback  
Enclosing class: SimpleHtmlParse  
public static class SimpleHtmlParse.Test  extends Object implements SimpleHtmlParse.Callback    
A standalone test class.
 Extracts predefined elements from the HTML structure of the
 specified file and prints the results to stdout.
 Diagnostic output is printed on stderr.
 
Method Summary   
 void addHtmlElement String  paramName,
               String  paramValue) 
static void main String [] args) 
 
Methods inherited from class java.lang.Object   
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait  
 
SimpleHtmlParse.Test 
public SimpleHtmlParse.Test () 
 
addHtmlElement 
public void addHtmlElement (String  paramName,
                           String  paramValue) 
This implements the SimpleHtmlParse.Callback interface.
 For this Test class, we just print the results.
Specified by: addHtmlElement SimpleHtmlParse.Callback  
Parameters: paramName - name of the parsed parameterparamValue - value of the parsed parameter 
  
main 
public static void main (String [] args)
                 throws IOException  
Main program for this standalone test class.
 SimpleHtmlParse$Test filename 
 
 
Parameters: args - filename to parse
Throws: 
IOException  
  
CleanCode Java Libraries 
Copyright © 2001-2012 Michael Sorens - Revised 2012.12.10