@DoesServiceRequest
    private void commit() throws StorageException, URISyntaxException {
        if (this.options.getStoreFileContentMD5()) {
            this.parentFileRef.getProperties().setContentMD5(Base64.encode(this.md5Digest.digest()));
        }

        this.parentFileRef.uploadProperties(this.accessCondition, this.options, this.opContext);
    }
@DoesServiceRequest
    private void commit() throws StorageException, URISyntaxException {
        if (this.options.getStoreFileContentMD5()) {
            this.parentFileRef.getProperties().setContentMD5(Base64.encode(this.md5Digest.digest()));
        }

        this.parentFileRef.uploadProperties(this.accessCondition, this.options, this.opContext);
    }
@ DoesServiceRequest private void commit ( ) throws StorageException , URISyntaxException { if ( this . options . getStoreFileContentMD5 ( ) ) { this . parentFileRef . getProperties ( ) . setContentMD5 ( Base64 . encode ( this . md5Digest . digest ( ) ) ) ; } this . parentFileRef . uploadProperties ( this . accessCondition , this . options , this . opContext ) ; }
Commits the file.

@throws StorageException
An exception representing any error which occurred during the operation.
@throws URISyntaxException
Commits the file .