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.
  • Constructor Details

    • ReplaceFileContentPostponedOperation

      public 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
    • ReplaceFileContentPostponedOperation

      public 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 Details