// TimerDemo.java: demonstration application showing time elapsed for parse. // NO WARRANTY! See README, and copyright below. // $Id: TimerDemo.java 38798 2005-07-08 20:00:01Z cxh $ // Modified 11/8/98 to add package statement. package com.microstar.xml.demo; /** * Demonstration application showing time elapsed for parse. *
Usage: java TimerDemo <url>
*
Or, use it as an applet, supplying the URL as the url
* parameter.
* @author Copyright (c) 1997, 1998 by Microstar Software Ltd.;
* @author written by David Megginson <dmeggins@microstar.com>
* @version 1.1
* @since Ptolemy II 0.2
* @see com.microstar.xml.XmlParser
* @see com.microstar.xml.XmlHandler
* @see XmlApp
*/
public class TimerDemo extends XmlApp {
/**
* Entry point for an application.
*/
public static void main(String[] args) throws java.lang.Exception {
long start;
long end;
TimerDemo demo = new TimerDemo();
if (args.length != 1) {
System.err.println("Usage: java TimerDemo