**Inheritance:**
java.lang.Object, com.aspose.pdf.comparison.diff.DiffUtils

```
public class DiffUtils extends Object
```

Represents a utils class for diff algorithm.

## Constructors

| Constructor | Description |
| --- | --- |
| [DiffUtils](#DiffUtils--) |  |

## Methods

| Method | Description |
| --- | --- |
| [assemblyDestinationText](#assemblyDestinationText-com.aspose.ms.System.Collections.Generic.List-) | Gets the destination text by diffs. |
| [assemblySourceText](#assemblySourceText-com.aspose.ms.System.Collections.Generic.List-) | Gets the source text by diffs. |
| [findCommonEndParts](#findCommonEndParts-com.aspose.ms.System.Text.msStringBuilder-com.aspose.ms.System.Text.msStringBuilder-) | Determine the common end parts of two strings. |
| [findCommonEndParts](#findCommonEndParts-java.lang.String-java.lang.String-int-) | Determine the common end parts of two strings. |
| [findCommonStartParts](#findCommonStartParts-com.aspose.ms.System.Text.msStringBuilder-com.aspose.ms.System.Text.msStringBuilder-) | Determine the common start parts of two strings. |
| [findCommonStartParts](#findCommonStartParts-java.lang.String-java.lang.String-) | Determine the common start parts of two strings. |

### DiffUtils {#DiffUtils--}
```
public DiffUtils()
```



### assemblyDestinationText {#assemblyDestinationText-com.aspose.ms.System.Collections.Generic.List-}
Gets the destination text by diffs.

### assemblySourceText {#assemblySourceText-com.aspose.ms.System.Collections.Generic.List-}
Gets the source text by diffs.

### findCommonEndParts {#findCommonEndParts-com.aspose.ms.System.Text.msStringBuilder-com.aspose.ms.System.Text.msStringBuilder-}
Determine the common end parts of two strings.

### findCommonEndParts {#findCommonEndParts-java.lang.String-java.lang.String-int-}
Determine the common end parts of two strings.

### findCommonStartParts {#findCommonStartParts-com.aspose.ms.System.Text.msStringBuilder-com.aspose.ms.System.Text.msStringBuilder-}
Determine the common start parts of two strings.

### findCommonStartParts {#findCommonStartParts-java.lang.String-java.lang.String-}
Determine the common start parts of two strings.
