microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileOutputStream.java
@DoesServiceRequest
    public void write(final InputStream sourceStream, final long writeLength) throws IOException, StorageException {
        Utility.writeToOutputStream(sourceStream, this, writeLength, false, false, this.opContext, this.options, false);
    }
@DoesServiceRequest
    public void write(final InputStream sourceStream, final long writeLength) throws IOException, StorageException {
        Utility.writeToOutputStream(sourceStream, this, writeLength, false, false, this.opContext, this.options, false);
    }
Writes all data from the InputStream to the File.

@param sourceStream
An {@link InputStream} object which species the data to write to the File.

@throws IOException
If an I/O error occurs. In particular, an IOException may be thrown if the output stream has been
closed.
@throws StorageException
An exception representing any error which occurred during the operation.