Class DocumentViewer


  • public class DocumentViewer
    extends java.lang.Object
    Diagnosis class that outputs HTML pages that allows you to view errors on a more global per-instance basis. Created: Mar 30, 2005
    Version:
    $Id: DocumentViewer.java,v 1.1 2007/10/22 21:37:44 mccallum Exp $
    Author:
      • Constructor Summary

        Constructors 
        Constructor Description
        DocumentViewer()  
      • Method Summary

        All Methods Static Methods Concrete Methods 
        Modifier and Type Method Description
        static void writeExtraction​(java.io.File directory, Extraction extraction)
        Writes several HTML files describing a given extraction.
        • Methods inherited from class java.lang.Object

          clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DocumentViewer

        public DocumentViewer()
    • Method Detail

      • writeExtraction

        public static void writeExtraction​(java.io.File directory,
                                           Extraction extraction)
                                    throws java.io.IOException
        Writes several HTML files describing a given extraction. Each HTML file shows an entire document, with the extracted fields color-coded.
        Parameters:
        directory - Directory to write files to
        extraction - Extraction to describe
        Throws:
        java.io.IOException