public class Comparer extends Object
Comparison facade
Constructor and Description |
---|
Comparer() |
Modifier and Type | Method and Description |
---|---|
ICompareResult |
compare(InputStream source,
InputStream target,
ComparisonSettings settings)
Compares the specified source.
|
ICompareResult |
compare(InputStream source,
String sourcePassword,
InputStream target,
String targetPassword,
ComparisonSettings settings)
Compares the specified source.
|
ICompareResult |
compare(String source,
String target,
ComparisonSettings settings)
Compares the specified source.
|
ICompareResult |
compare(String source,
String sourcePassword,
String target,
String targetPassword,
ComparisonSettings settings)
Compares the specified source.
|
ICompareResult |
compareInternal(com.aspose.ms.System.IO.Stream source,
com.aspose.ms.System.IO.Stream target,
ComparisonSettings settings) |
ICompareResult |
compareInternal(com.aspose.ms.System.IO.Stream source,
String sourcePassword,
com.aspose.ms.System.IO.Stream target,
String targetPassword,
ComparisonSettings settings) |
List<PageImage> |
convertToImages(String path)
Get the document as images
|
List<PageImage> |
convertToImages(String path,
String password)
Get the document as images
|
com.aspose.ms.System.Collections.Generic.List<PageImage> |
convertToImagesInternal(String path,
String password) |
public ICompareResult compare(InputStream source, InputStream target, ComparisonSettings settings)
Compares the specified source.
source
- The source.target
- The target.settings
- The options.public ICompareResult compare(InputStream source, String sourcePassword, InputStream target, String targetPassword, ComparisonSettings settings)
Compares the specified source.
source
- The source.sourcePassword
- The source password.target
- The target.targetPassword
- The target password.settings
- The options.public ICompareResult compare(String source, String target, ComparisonSettings settings)
Compares the specified source.
source
- The source.target
- The target.settings
- The options.public ICompareResult compare(String source, String sourcePassword, String target, String targetPassword, ComparisonSettings settings)
Compares the specified source.
source
- The source.sourcePassword
- The source password.target
- The target.targetPassword
- The target password.settings
- The options.public ICompareResult compareInternal(com.aspose.ms.System.IO.Stream source, com.aspose.ms.System.IO.Stream target, ComparisonSettings settings)
public ICompareResult compareInternal(com.aspose.ms.System.IO.Stream source, String sourcePassword, com.aspose.ms.System.IO.Stream target, String targetPassword, ComparisonSettings settings)
public final List<PageImage> convertToImages(String path)
Get the document as images
path
- public final List<PageImage> convertToImages(String path, String password)
Get the document as images
path
- password
- default is nullCopyright © 2019. All rights reserved.