Interface FSCompareAndUpdate
-
- All Known Implementing Classes:
FSCompareAndUpdateImpl
public interface FSCompareAndUpdate
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanupdateFile(File file, InputStream stream, int streamLength)Updates a file with contents of the stream.
-
-
-
Method Detail
-
updateFile
boolean updateFile(@NotNull File file, @NotNull InputStream stream, int streamLength) throws IOExceptionUpdates a file with contents of the stream.- Parameters:
file- file to updatestream- stream with new bytesstream- length- Returns:
- true if there was updated bytes in the file
- Throws:
IOException
-
-