Class AHCompareDocuments
- java.lang.Object
-
- jp.co.antenna.AHOOXMLDocxManagerJavaCtl.AHCompareDocuments
-
public class AHCompareDocuments extends java.lang.ObjectCompare two documents- Version:
- 1.0 2022/01/31
- Author:
- Copyright (c) 2022 Antenna House, Inc. All rights reserved.
-
-
Constructor Summary
Constructors Constructor Description AHCompareDocuments()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompareDocuments(java.lang.String originalFilePath, java.lang.String revisedFilePath, java.lang.String outputFilePath)Perform document comparisonvoidcreateComparativeTable(java.lang.String originalFilePath, java.lang.String revisedFilePath, java.lang.String outputFilePath)Create comparison tableChangedRatioparseChangedRatio(java.lang.String originalFilePath, java.lang.String revisedFilePath)Parsing the document changed ratio
-
-
-
Method Detail
-
compareDocuments
public void compareDocuments(java.lang.String originalFilePath, java.lang.String revisedFilePath, java.lang.String outputFilePath) throws AHOOXMLDocxManagerException, java.io.IOException, java.lang.InterruptedExceptionPerform document comparison- Parameters:
originalFilePath- Original file pathrevisedFilePath- Revised file pathoutputFilePath- Output path of comparison results- Throws:
AHOOXMLDocxManagerExceptionjava.io.IOExceptionjava.lang.InterruptedException
-
createComparativeTable
public void createComparativeTable(java.lang.String originalFilePath, java.lang.String revisedFilePath, java.lang.String outputFilePath) throws AHOOXMLDocxManagerException, java.io.IOException, java.lang.InterruptedExceptionCreate comparison table- Parameters:
originalFilePath- Original file pathrevisedFilePath- Revised file pathoutputFilePath- Output path of comparison table- Throws:
AHOOXMLDocxManagerExceptionjava.io.IOExceptionjava.lang.InterruptedException
-
parseChangedRatio
public ChangedRatio parseChangedRatio(java.lang.String originalFilePath, java.lang.String revisedFilePath) throws AHOOXMLDocxManagerException, java.io.IOException, java.lang.InterruptedException
Parsing the document changed ratio- Parameters:
originalFilePath- Original file pathrevisedFilePath- Revised file path- Returns:
- Document changed ratio
- Throws:
AHOOXMLDocxManagerExceptionjava.io.IOExceptionjava.lang.InterruptedException
-
-