updateFile
Updates an existing file.
Return
{@link StoreFileStreamWriter} instance prepared for writing
Parameters
reference to Store API
ID of the file to update
new public metadata for the matching file
new private (encrypted) metadata for the matching file
size of data to write
Throws
when {@code storeApi} is not initialized or there's no connection
if there is an error while updating Store file metadata
if there is an unknown error while updating Store file metadata
Updates existing file and writes data from passed Source.
Return
Updated file ID
Parameters
reference to Store API
ID of the file to update
new public metadata for the matching file
new private (encrypted) metadata for the matching file
size of data to write
stream with data to write to the file using optimal chunk size StoreFileStream.OPTIMAL_SEND_SIZE
controls the process of writing file
Throws
if there is an error while reading stream or this
is closed
when storeApi
is not initialized or there's no connection
if there is an error while updating Store file metadata
if there is an unknown error while updating Store file metadata