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
 
 public class ReplaceFileContentPostponedOperation extends Object implements 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.IPostponedFileOperationIPostponedFileOperation.IContentStreamProvider
 
- 
 - 
Constructor SummaryConstructors Constructor Description ReplaceFileContentPostponedOperation(Path mainPath, IPostponedFileOperation.IContentStreamProvider contentStreamProvider)Creates a new instance.ReplaceFileContentPostponedOperation(Path mainPath, Path otherPath)Creates a new instance.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidperform(IMergeSession mergeSession)Performs the operation.
 
- 
- 
- 
Constructor Detail- 
ReplaceFileContentPostponedOperationpublic ReplaceFileContentPostponedOperation(Path mainPath, Path otherPath) Creates a new instance.- Parameters:
- mainPath- the main side file path, cannot be- null
- otherPath- the other side file path whose content will be taken to replace the main side file content, cannot be- null
 
 - 
ReplaceFileContentPostponedOperationpublic ReplaceFileContentPostponedOperation(Path mainPath, IPostponedFileOperation.IContentStreamProvider contentStreamProvider) Creates a new instance.- Parameters:
- mainPath- the main side file path, cannot be- null
- contentStreamProvider- the content input stream provider to replace the main side file content, cannot be- null
 
 
- 
 - 
Method Detail- 
performpublic void perform(IMergeSession mergeSession) Description copied from interface:IPostponedFileOperationPerforms the operation.- Specified by:
- performin interface- IPostponedFileOperation
- Parameters:
- mergeSession- the merge session, cannot be- null
 
 
- 
 
-