Package org.jpedal.examples.handlers
Class ExampleErrorTracker
java.lang.Object
org.jpedal.examples.handlers.ExampleErrorTracker
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 Summary
ConstructorsConstructorDescriptionExampleErrorTracker(String filename) Creates a Viewer, adds the ErrorTracker to its decoder and opens a sample file. -
Method Summary
-
Constructor Details
-
ExampleErrorTracker
Creates a Viewer, adds the ErrorTracker to its decoder and opens a sample file.
-
-
Method Details
-
main
Runs the example.- Parameters:
args- not used
-