Class ExampleErrorTracker

java.lang.Object
org.jpedal.examples.handlers.ExampleErrorTracker

public final class ExampleErrorTracker extends Object
Example showing how to monitor page decoding with an ErrorTracker. The tracker stops decoding any page that takes longer than 1.5 seconds and reports it as timed out.
  • Constructor Details

    • ExampleErrorTracker

      public ExampleErrorTracker(String filename)
      Creates a Viewer, adds the ErrorTracker to its decoder and opens a sample file.
  • Method Details

    • main

      public static void main(String[] args)
      Runs the example.
      Parameters:
      args - not used