|
Generated by JDiff |
||||||||
| PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES | |||||||||
This file contains all the changes in documentation in the packagecom.itextpdf.kernel.utilsas colored differences. Deletions are shownlike this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a tag will cause all subsequent paragraphs to be displayed differently.
Simple method that compares two given PdfArrays by content. This is "deep" comparing, which means that all nested objects are also compared by content. @param outArray array to compare. @param cmpArray array to compare. @return true if arrays are equal by content, otherwise false.Class CompareTool, CompareResult compareByCatalog(PdfDocument, PdfDocument)@throws IOException obsolete. Would be removed in 7.2.
Compares two PDF documents by content starting from Catalog dictionary and then recursively comparing corresponding objects which are referenced from it. You can roughly imagine it as depth-first traversal of the two trees that represent pdf objects structure of the documents.Class CompareTool, boolean compareDictionaries(PdfDictionary, PdfDictionary)The main difference between this method and the .compareByContent(String, String, String, String) methods is the return value. This method returns a CompareResult class instance, which could be used in code, whilst compareByContent methods in case of the differences simply return String value, which could only be printed. Also, keep in mind that this method doesn't perform visual comparison of the documents.
For more explanations about what outDoc and cmpDoc are see last paragraph of the CompareTool class description. @param outDocument a PdfDocument corresponding to the output file, which is to be compared with cmp-file. @param cmpDocument a PdfDocument corresponding to the cmp-file, which is to be compared with output file. @return the report on comparison of two files in the form of the custom class CompareResult instance. @
throws IOException obsolete. Would be removed in 7.2. @see CompareResult
Simple method that compares two given PdfDictionaries by content. This is "deep" comparing, which means that all nested objects are also compared by content. @param outDict dictionary to compare. @param cmpDict dictionary to compare. @return true if dictionaries are equal by content, otherwise false.Class CompareTool, boolean compareStreams(PdfStream, PdfStream)@throws IOException obsolete. Would be removed in 7.2.
Simple method that compares two given PdfStreams by content. This is "deep" comparing, which means that all nested objects are also compared by content. @param outStream stream to compare. @param cmpStream stream to compare. @return true if stream are equal by content, otherwise false.@throws IOException obsolete. Would be removed in 7.2.