Package com._1c.g5.v8.dt.compare.merge
Class ReplaceFileContentPostponedOperation
java.lang.Object
com._1c.g5.v8.dt.compare.merge.ReplaceFileContentPostponedOperation
- All Implemented Interfaces:
IPostponedFileOperation
The postponed operation of replacing an existing file content.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com._1c.g5.v8.dt.compare.merge.IPostponedFileOperation
IPostponedFileOperation.IContentStreamProvider -
Constructor Summary
ConstructorsConstructorDescriptionReplaceFileContentPostponedOperation(Path mainPath, IPostponedFileOperation.IContentStreamProvider contentStreamProvider) Creates a new instance.ReplaceFileContentPostponedOperation(Path mainPath, Path otherPath) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidperform(IMergeSession mergeSession) Performs the operation.
-
Constructor Details
-
ReplaceFileContentPostponedOperation
Creates a new instance.- Parameters:
mainPath- the main side file path, cannot benullotherPath- the other side file path whose content will be taken to replace the main side file content, cannot benull
-
ReplaceFileContentPostponedOperation
public ReplaceFileContentPostponedOperation(Path mainPath, IPostponedFileOperation.IContentStreamProvider contentStreamProvider) Creates a new instance.- Parameters:
mainPath- the main side file path, cannot benullcontentStreamProvider- the content input stream provider to replace the main side file content, cannot benull
-
-
Method Details
-
perform
Description copied from interface:IPostponedFileOperationPerforms the operation.- Specified by:
performin interfaceIPostponedFileOperation- Parameters:
mergeSession- the merge session, cannot benull
-