public abstract class BlobOutputStream extends StorageOutputStream
lastError| Modifier and Type | Method and Description |
|---|---|
static BlobOutputStream |
blockBlobOutputStream(BlobAsyncClient client,
BlockBlobOutputStreamOptions options,
com.azure.core.util.Context context)
Creates a block blob output stream from a BlobAsyncClient
|
static BlobOutputStream |
blockBlobOutputStream(BlobAsyncClient client,
ParallelTransferOptions parallelTransferOptions,
BlobHttpHeaders headers,
Map<String,String> metadata,
AccessTier tier,
BlobRequestConditions requestConditions)
Creates a block blob output stream from a BlobAsyncClient
|
static BlobOutputStream |
blockBlobOutputStream(BlobAsyncClient client,
ParallelTransferOptions parallelTransferOptions,
BlobHttpHeaders headers,
Map<String,String> metadata,
AccessTier tier,
BlobRequestConditions requestConditions,
com.azure.core.util.Context context)
Creates a block blob output stream from a BlobAsyncClient
|
void |
close()
Closes this output stream and releases any system resources associated with this stream.
|
checkStreamState, dispatchWrite, flush, write, write, write, writeInternalnullOutputStreampublic static BlobOutputStream blockBlobOutputStream(BlobAsyncClient client, ParallelTransferOptions parallelTransferOptions, BlobHttpHeaders headers, Map<String,String> metadata, AccessTier tier, BlobRequestConditions requestConditions)
client - BlobAsyncClient The blob client.parallelTransferOptions - ParallelTransferOptions used to configure buffered uploading.headers - BlobHttpHeadersmetadata - Metadata to associate with the blob.tier - AccessTier for the destination blob.requestConditions - BlobRequestConditionsBlobOutputStream associated with the blob.public static BlobOutputStream blockBlobOutputStream(BlobAsyncClient client, ParallelTransferOptions parallelTransferOptions, BlobHttpHeaders headers, Map<String,String> metadata, AccessTier tier, BlobRequestConditions requestConditions, com.azure.core.util.Context context)
client - BlobAsyncClient The blob client.parallelTransferOptions - ParallelTransferOptions used to configure buffered uploading.headers - BlobHttpHeadersmetadata - Metadata to associate with the blob.tier - AccessTier for the destination blob.requestConditions - BlobRequestConditionscontext - Additional context that is passed through the Http pipeline during the service call.BlobOutputStream associated with the blob.public static BlobOutputStream blockBlobOutputStream(BlobAsyncClient client, BlockBlobOutputStreamOptions options, com.azure.core.util.Context context)
client - BlobAsyncClient The blob client.options - BlockBlobOutputStreamOptionscontext - Additional context that is passed through the Http pipeline during the service call.BlobOutputStream associated with the blob.public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class StorageOutputStreamIOException - If an I/O error occurs.Copyright © 2020 Microsoft Corporation. All rights reserved.