Class AHInspectDocument


  • public class AHInspectDocument
    extends java.lang.Object
    Perform inspect document
    Version:
    1.0 2022/05/01
    Author:
    Copyright (c) 2022 Antenna House, Inc. All rights reserved.
    • Constructor Detail

      • AHInspectDocument

        public AHInspectDocument()
        Constructor
      • AHInspectDocument

        public AHInspectDocument​(java.lang.String inspectedWordPath)
        Constructor
        Parameters:
        inspectedWordPath - Path of the target file of inspect document
    • Method Detail

      • setInspectedWord

        public void setInspectedWord​(java.lang.String inspectedWordPath)
        Set target file of inspect document
        Parameters:
        inspectedWordPath - Path of the target file of inspect document
      • executeInspectDocument

        public InspectDocumentResult executeInspectDocument​(java.lang.String inspectedWordPath)
                                                     throws AHOOXMLDocxManagerException,
                                                            java.io.IOException,
                                                            java.lang.InterruptedException
        Perform inspect document
        Parameters:
        inspectedWordPath - Path of the target file of inspect document
        Returns:
        Inspect document results
        Throws:
        AHOOXMLDocxManagerException
        java.io.IOException
        java.lang.InterruptedException
      • removeMetaInformations

        public void removeMetaInformations​(InspectDocumentRemoveOptions removeOptions,
                                           java.lang.String outputPath)
                                    throws AHOOXMLDocxManagerException,
                                           java.io.IOException,
                                           java.lang.InterruptedException
        Remove meta information
        Parameters:
        removeOptions - Options for removing target in inspect document
        outputPath - Output path of removing result
        Throws:
        AHOOXMLDocxManagerException
        java.io.IOException
        java.lang.InterruptedException
      • removeMetaInformations

        public void removeMetaInformations​(java.lang.String inputPath,
                                           InspectDocumentRemoveOptions removeOptions,
                                           java.lang.String outputPath)
                                    throws AHOOXMLDocxManagerException,
                                           java.io.IOException,
                                           java.lang.InterruptedException
        Remove meta information
        Parameters:
        inputPath - Path of the file from which the meta information is to be removed
        removeOptions - Options for removing target in inspect document
        outputPath - Output path of removing result
        Throws:
        AHOOXMLDocxManagerException
        java.io.IOException
        java.lang.InterruptedException