@Deprecated public class Comparison extends Object
The Comparison
Constructor and Description |
---|
Comparison()
Deprecated.
Initializes a new instance of the
Comparison class. |
Comparison(boolean sameSlideSize,
boolean compareTextAsDoc)
Deprecated.
Initializes a new instance of the
Comparison class. |
Modifier and Type | Method and Description |
---|---|
InputStream |
compare(InputStream source,
InputStream target)
Deprecated.
Compares the specified source.
|
InputStream |
compare(InputStream source,
InputStream target,
ComparisonSettings settings)
Deprecated.
Compares the specified source.
|
InputStream |
compare(InputStream source,
InputStream target,
int type)
Deprecated.
Compares the specified source.
|
InputStream |
compare(InputStream source,
InputStream target,
int type,
ComparisonSettings settings)
Deprecated.
Compares the specified source.
|
InputStream |
compare(InputStream source,
InputStream target,
String resultPath)
Deprecated.
Compares the specified source.
|
InputStream |
compare(InputStream source,
InputStream target,
String resultPath,
ComparisonSettings settings)
Deprecated.
Compares the specified source.
|
InputStream |
compare(InputStream source,
InputStream target,
String resultPath,
ComparisonSettings settings,
int targetExt)
Deprecated.
Compares the specified source.
|
InputStream |
compare(InputStream source,
InputStream target,
String resultPath,
int fileType)
Deprecated.
Compares the specified source.
|
InputStream |
compare(InputStream source,
InputStream target,
String resultPath,
int type,
ComparisonSettings settings)
Deprecated.
Compares the specified source.
|
InputStream |
compare(InputStream source,
InputStream target,
String resultPath,
int type,
ComparisonSettings settings,
int targetExt)
Deprecated.
Compares the specified source.
|
InputStream |
compare(InputStream source,
InputStream target,
String resultPath,
int type,
int targetExt)
Deprecated.
Compares the specified source.
|
InputStream |
compare(InputStream source,
String sourcePassword,
InputStream target,
String targetPassword)
Deprecated.
Compares the specified source.
|
InputStream |
compare(InputStream source,
String sourcePassword,
InputStream target,
String targetPassword,
ComparisonSettings settings)
Deprecated.
Compares the specified source.
|
InputStream |
compare(InputStream source,
String sourcePassword,
InputStream target,
String targetPassword,
int type)
Deprecated.
Compares the specified source.
|
InputStream |
compare(InputStream source,
String sourcePassword,
InputStream target,
String targetPassword,
int type,
ComparisonSettings settings)
Deprecated.
Compares the specified source.
|
InputStream |
compare(InputStream source,
String sourcePassword,
InputStream target,
String targetPassword,
String resultPath)
Deprecated.
Compares the specified source.
|
InputStream |
compare(InputStream source,
String sourcePassword,
InputStream target,
String targetPassword,
String resultPath,
ComparisonSettings settings)
Deprecated.
Compares two documents
|
InputStream |
compare(InputStream source,
String sourcePassword,
InputStream target,
String targetPassword,
String resultPath,
ComparisonSettings settings,
int targetExt)
Deprecated.
Compares two documents
|
InputStream |
compare(InputStream source,
String sourcePassword,
InputStream target,
String targetPassword,
String resultPath,
int targetExt)
Deprecated.
Compares the specified source.
|
InputStream |
compare(InputStream source,
String sourcePassword,
InputStream target,
String targetPassword,
String resultPath,
int type,
ComparisonSettings settings)
Deprecated.
Compares the specified source.
|
InputStream |
compare(InputStream source,
String sourcePassword,
InputStream target,
String targetPassword,
String resultPath,
int type,
ComparisonSettings settings,
int targetExt)
Deprecated.
Compares the specified source.
|
InputStream |
compare(InputStream source,
String sourcePassword,
InputStream target,
String targetPassword,
String resultPath,
int type,
int targetExt)
Deprecated.
Compares the specified source.
|
InputStream |
compare(String source,
String target)
Deprecated.
Compares the specified source.
|
InputStream |
compare(String source,
String target,
ComparisonSettings settings)
Deprecated.
Compares the specified source.
|
InputStream |
compare(String source,
String target,
int type)
Deprecated.
Compares the specified source.
|
InputStream |
compare(String source,
String target,
int type,
ComparisonSettings settings)
Deprecated.
Compares the specified source.
|
InputStream |
compare(String source,
String target,
String resultPath)
Deprecated.
Compares the specified source.
|
InputStream |
compare(String source,
String target,
String resultPath,
ComparisonSettings settings)
Deprecated.
Compares the specified source.
|
InputStream |
compare(String source,
String target,
String resultPath,
ComparisonSettings settings,
int targetExt)
Deprecated.
Compares the specified source.
|
InputStream |
compare(String source,
String target,
String resultPath,
int targetExt)
Deprecated.
Compares the specified source.
|
InputStream |
compare(String source,
String target,
String resultPath,
int type,
ComparisonSettings settings)
Deprecated.
Compares the specified source.
|
InputStream |
compare(String source,
String target,
String resultPath,
int type,
ComparisonSettings settings,
int targetExt)
Deprecated.
Compares the specified source.
|
InputStream |
compare(String source,
String target,
String resultPath,
int type,
int targetExt)
Deprecated.
Compares the specified source.
|
InputStream |
compare(String source,
String sourcePassword,
String target,
String targetPassword)
Deprecated.
Compares the specified source.
|
InputStream |
compare(String source,
String sourcePassword,
String target,
String targetPassword,
ComparisonSettings settings)
Deprecated.
Compares the specified source.
|
InputStream |
compare(String source,
String sourcePassword,
String target,
String targetPassword,
int type)
Deprecated.
Compares the specified source.
|
InputStream |
compare(String source,
String sourcePassword,
String target,
String targetPassword,
int type,
ComparisonSettings settings)
Deprecated.
Compares the specified source.
|
InputStream |
compare(String source,
String sourcePassword,
String target,
String targetPassword,
String resultPath)
Deprecated.
Compares the specified source.
|
InputStream |
compare(String source,
String sourcePassword,
String target,
String targetPassword,
String resultPath,
ComparisonSettings settings)
Deprecated.
Compares the specified source.
|
InputStream |
compare(String source,
String sourcePassword,
String target,
String targetPassword,
String resultPath,
ComparisonSettings settings,
int targetExt)
Deprecated.
Compares the specified source.
|
InputStream |
compare(String source,
String sourcePassword,
String target,
String targetPassword,
String resultPath,
int targetExt)
Deprecated.
Compares the specified source.
|
InputStream |
compare(String source,
String sourcePassword,
String target,
String targetPassword,
String resultPath,
int type,
ComparisonSettings settings)
Deprecated.
Compares the specified source.
|
InputStream |
compare(String source,
String sourcePassword,
String target,
String targetPassword,
String resultPath,
int type,
ComparisonSettings settings,
int targetExt)
Deprecated.
Compares the specified source.
|
InputStream |
compare(String source,
String sourcePassword,
String target,
String targetPassword,
String resultPath,
int type,
int targetExt)
Deprecated.
Compares the specified source.
|
ChangeInfo[] |
getChanges()
Deprecated.
Gets changes of comparison
|
List<ByteArrayOutputStream> |
saveAsImages()
Deprecated.
Saves result of the comparison as a bunch of images.
|
void |
saveAsImages(String folderPath)
Deprecated.
Saves document as images.
|
List<ByteArrayOutputStream> |
savePageAsImage(int pageIndex)
Deprecated.
Saves the page as image.
|
void |
savePageAsImage(String folderPath,
int pageIndex)
Deprecated.
Saves the page as image.
|
InputStream |
updateChanges(ChangeInfo[] changes,
int fileType)
Deprecated.
Applies changes to current document
|
void |
updateChanges(ChangeInfo[] changes,
String filePath)
Deprecated.
Updates changes from current document
|
public Comparison(boolean sameSlideSize, boolean compareTextAsDoc)
Initializes a new instance of the Comparison
class.
sameSlideSize
- if set to true
[same slide size].compareTextAsDoc
- if set to true
[compare text as document].public Comparison()
Initializes a new instance of the Comparison
class.
public InputStream compare(InputStream source, String sourcePassword, InputStream target, String targetPassword, String resultPath, int type, ComparisonSettings settings) throws Exception
Compares the specified source.
source
- The source.sourcePassword
- The source password.target
- The target.targetPassword
- The taregt password.resultPath
- The result path.type
- The type.settings
- The settings.Exception
- Comparison quota exceededpublic InputStream compare(InputStream source, String sourcePassword, InputStream target, String targetPassword, String resultPath, int type, ComparisonSettings settings, int targetExt) throws Exception
Compares the specified source.
source
- The source.sourcePassword
- The source password.target
- The target.targetPassword
- The taregt password.resultPath
- The result path.type
- The type.settings
- The settings.targetExt
- The target extention.Exception
- Comparison quota exceededpublic InputStream compare(InputStream source, InputStream target, String resultPath, int type, ComparisonSettings settings) throws Exception
Compares the specified source.
source
- The source.target
- The target.resultPath
- The result path.type
- The type.settings
- The settings.Exception
public InputStream compare(InputStream source, InputStream target, String resultPath, int type, ComparisonSettings settings, int targetExt) throws Exception
Compares the specified source.
source
- The source.target
- The target.resultPath
- The result path.type
- The type.settings
- The settings.targetExt
- The target ext.Exception
public InputStream compare(InputStream source, InputStream target, String resultPath, ComparisonSettings settings) throws Exception
Compares the specified source.
source
- The source.target
- The target.resultPath
- The result path.settings
- The settings.Exception
public InputStream compare(InputStream source, InputStream target, String resultPath, ComparisonSettings settings, int targetExt) throws Exception
Compares the specified source.
source
- The source.target
- The target.resultPath
- The result path.settings
- The settings.targetExt
- The target ext.Exception
public InputStream compare(InputStream source, String sourcePassword, InputStream target, String targetPassword, String resultPath, ComparisonSettings settings) throws Exception
Compares two documents
source
- Source document streamsourcePassword
- The source password.target
- Target document streamtargetPassword
- The target password.resultPath
- Result file pathsettings
- Comparison settingsException
public InputStream compare(InputStream source, String sourcePassword, InputStream target, String targetPassword, String resultPath, ComparisonSettings settings, int targetExt) throws Exception
Compares two documents
source
- Source document streamsourcePassword
- The source password.target
- Target document streamtargetPassword
- The target password.resultPath
- Result file pathsettings
- Comparison settingstargetExt
- Comparison file extensionException
public InputStream compare(InputStream source, InputStream target, int type, ComparisonSettings settings) throws Exception
Compares the specified source.
source
- The source.target
- The target.type
- The type.settings
- The settings.Exception
public InputStream compare(InputStream source, String sourcePassword, InputStream target, String targetPassword, int type, ComparisonSettings settings) throws Exception
Compares the specified source.
source
- The source.sourcePassword
- The source password.target
- The target.targetPassword
- The target password.type
- The type.settings
- The settings.Exception
public InputStream compare(InputStream source, InputStream target, ComparisonSettings settings) throws Exception
Compares the specified source.
source
- The source.target
- The target.settings
- The settings.Exception
public InputStream compare(InputStream source, String sourcePassword, InputStream target, String targetPassword, ComparisonSettings settings) throws Exception
Compares the specified source.
source
- The source.sourcePassword
- The source password.target
- The target.targetPassword
- The target password.settings
- The settings.Exception
public InputStream compare(InputStream source, InputStream target, String resultPath, int type, int targetExt) throws Exception
Compares the specified source.
source
- The source.target
- The target.resultPath
- The result path.type
- The type.targetExt
- The target ext.Exception
public InputStream compare(InputStream source, String sourcePassword, InputStream target, String targetPassword, String resultPath, int type, int targetExt) throws Exception
Compares the specified source.
source
- The source.sourcePassword
- The source password.target
- The target.targetPassword
- The target password.resultPath
- The result path.type
- The type.targetExt
- The target ext.Exception
public InputStream compare(InputStream source, InputStream target, String resultPath) throws Exception
Compares the specified source.
source
- The source.target
- The target.resultPath
- The result path.Exception
public InputStream compare(InputStream source, InputStream target, String resultPath, int fileType) throws Exception
Compares the specified source.
source
- The source.target
- The target.resultPath
- The result path.fileType
- The FileType.Exception
public InputStream compare(InputStream source, String sourcePassword, InputStream target, String targetPassword, String resultPath) throws Exception
Compares the specified source.
source
- The source.sourcePassword
- The source password.target
- The target.targetPassword
- The target password.resultPath
- The result path.Exception
public InputStream compare(InputStream source, String sourcePassword, InputStream target, String targetPassword, String resultPath, int targetExt) throws Exception
Compares the specified source.
source
- The source.sourcePassword
- The source password.target
- The target.targetPassword
- The target password.resultPath
- The result path.targetExt
- The target ext.Exception
public InputStream compare(InputStream source, InputStream target, int type) throws Exception
Compares the specified source.
source
- The source.target
- The target.type
- The type.Exception
public InputStream compare(InputStream source, String sourcePassword, InputStream target, String targetPassword, int type) throws Exception
Compares the specified source.
source
- The source.sourcePassword
- The source password.target
- The target.targetPassword
- The target password.type
- The type.Exception
public InputStream compare(InputStream source, InputStream target) throws Exception
Compares the specified source.
source
- The source.target
- The target.Exception
public InputStream compare(InputStream source, String sourcePassword, InputStream target, String targetPassword) throws Exception
Compares the specified source.
source
- The source.sourcePassword
- The source password.target
- The target.targetPassword
- The target password.Exception
public InputStream compare(String source, String target, String resultPath, int type, ComparisonSettings settings) throws Exception
Compares the specified source.
source
- The source.target
- The target.resultPath
- The result path.type
- The type.settings
- The settings.Exception
public InputStream compare(String source, String target, String resultPath, int type, ComparisonSettings settings, int targetExt) throws Exception
Compares the specified source.
source
- The source.target
- The target.resultPath
- The result path.type
- The type.settings
- The settings.targetExt
- The target ext.Exception
public InputStream compare(String source, String sourcePassword, String target, String targetPassword, String resultPath, int type, ComparisonSettings settings) throws Exception
Compares the specified source.
source
- The source.sourcePassword
- The source password.target
- The target.targetPassword
- The target password.resultPath
- The result path.type
- The type.settings
- The settings.Exception
public InputStream compare(String source, String sourcePassword, String target, String targetPassword, String resultPath, int type, ComparisonSettings settings, int targetExt) throws Exception
Compares the specified source.
source
- The source.sourcePassword
- The source password.target
- The target.targetPassword
- The target password.resultPath
- The result path.type
- The type.settings
- The settings.targetExt
- The target ext.Exception
public InputStream compare(String source, String target, int type, ComparisonSettings settings) throws Exception
Compares the specified source.
source
- The source.target
- The target.type
- The type.settings
- The settings.Exception
public InputStream compare(String source, String sourcePassword, String target, String targetPassword, int type, ComparisonSettings settings) throws Exception
Compares the specified source.
source
- The source.sourcePassword
- The source password.target
- The target.targetPassword
- The target password.type
- The type.settings
- The settings.Exception
public InputStream compare(String source, String target, String resultPath, int type, int targetExt) throws Exception
Compares the specified source.
source
- The source.target
- The target.resultPath
- The result path.type
- The type.targetExt
- The target ext.Exception
public InputStream compare(String source, String sourcePassword, String target, String targetPassword, String resultPath, int type, int targetExt) throws Exception
Compares the specified source.
source
- The source.sourcePassword
- The source password.target
- The target.targetPassword
- The target password.resultPath
- The result path.type
- The type.targetExt
- The target ext.Exception
public InputStream compare(String source, String target, int type) throws Exception
Compares the specified source.
source
- The source.target
- The target.type
- The type.Exception
public InputStream compare(String source, String sourcePassword, String target, String targetPassword, int type) throws Exception
Compares the specified source.
source
- The source.sourcePassword
- The source password.target
- The target.targetPassword
- The target password.type
- The type.Exception
public InputStream compare(String source, String target, String resultPath, ComparisonSettings settings) throws Exception
Compares the specified source.
Exception
public InputStream compare(String source, String target, String resultPath, ComparisonSettings settings, int targetExt) throws Exception
Compares the specified source.
Exception
public InputStream compare(String source, String sourcePassword, String target, String targetPassword, String resultPath, ComparisonSettings settings) throws Exception
Compares the specified source.
Exception
public InputStream compare(String source, String sourcePassword, String target, String targetPassword, String resultPath, ComparisonSettings settings, int targetExt) throws Exception
Compares the specified source.
Exception
public InputStream compare(String source, String target, String resultPath) throws Exception
Compares the specified source.
Exception
public InputStream compare(String source, String target, String resultPath, int targetExt) throws Exception
Compares the specified source.
Exception
public InputStream compare(String source, String sourcePassword, String target, String targetPassword, String resultPath) throws Exception
Compares the specified source.
Exception
public InputStream compare(String source, String sourcePassword, String target, String targetPassword, String resultPath, int targetExt) throws Exception
Compares the specified source.
Exception
public InputStream compare(String source, String target, ComparisonSettings settings) throws Exception
Compares the specified source.
source
- The source.target
- The target.settings
- The settings.Exception
public InputStream compare(String source, String sourcePassword, String target, String targetPassword, ComparisonSettings settings) throws Exception
Compares the specified source.
source
- The source.sourcePassword
- The source password.target
- The target.targetPassword
- The target password.settings
- The settings.Exception
public InputStream compare(String source, String target) throws Exception
Compares the specified source.
source
- The source.target
- The target.Exception
public InputStream compare(String source, String sourcePassword, String target, String targetPassword) throws Exception
Compares the specified source.
source
- The source.sourcePassword
- The source password.target
- The target.targetPassword
- The target password.Exception
public void updateChanges(ChangeInfo[] changes, String filePath) throws Exception
Updates changes from current document
Exception
public InputStream updateChanges(ChangeInfo[] changes, int fileType) throws Exception
Applies changes to current document
changes
- List of changes to applyfileType
- Type of file to changeException
public ChangeInfo[] getChanges() throws Exception
Gets changes of comparison
Exception
public List<ByteArrayOutputStream> saveAsImages() throws Exception
Saves result of the comparison as a bunch of images.
Exception
public void saveAsImages(String folderPath) throws Exception
Saves document as images.
folderPath
- The folder path.Exception
public void savePageAsImage(String folderPath, int pageIndex) throws Exception
Saves the page as image.
Exception
public List<ByteArrayOutputStream> savePageAsImage(int pageIndex) throws Exception
Saves the page as image.
pageIndex
- Index of the page.Exception
Copyright © 2018. All rights reserved.