FileDocCategorySizeDatePackage
DigesterExample.javaAPI DocExample1924Wed May 18 09:39:04 BST 2005com.discursive.jccook.xml.script

DigesterExample

public class DigesterExample extends Object
Include a table of the Values in DateFormatUtils

Fields Summary
private static Logger
logger
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] pArgs)

     
        LogInit.init();
    
        DigesterExample example = new DigesterExample();
        example.testDigest();
    
public voidtestDigest()


        List operations = new ArrayList();

        InputStream input = getClass().getResourceAsStream("./math.xml");
        URL rules = getClass().getResource("./math-rules.xml");
        Digester digester = DigesterLoader.createDigester(rules);
        digester.push(operations);

        logger.debug("Number of operations: " + operations.size());