Class FSCompareAndUpdateImpl
- java.lang.Object
-
- jetbrains.buildServer.vcs.patches.FSCompareAndUpdateImpl
-
- All Implemented Interfaces:
FSCompareAndUpdate
public class FSCompareAndUpdateImpl extends Object implements FSCompareAndUpdate
-
-
Constructor Summary
Constructors Constructor Description FSCompareAndUpdateImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
updateFile(File file, InputStream stream, int streamLength)
Updates a file with contents of the stream.
-
-
-
Method Detail
-
updateFile
public boolean updateFile(@NotNull File file, @NotNull InputStream stream, int streamLength) throws IOException
Description copied from interface:FSCompareAndUpdate
Updates a file with contents of the stream.- Specified by:
updateFile
in interfaceFSCompareAndUpdate
- Parameters:
file
- file to updatestream
- stream with new bytes- Returns:
- true if there was updated bytes in the file
- Throws:
IOException
-
-