| Package | Description |
|---|---|
| com.microsoft.windowsazure.services.blob |
This package contains the blob service class, interface, and associated configuration and utility classes.
|
| com.microsoft.windowsazure.services.blob.models |
This package contains the blob data transfer object classes.
|
| com.microsoft.windowsazure.services.media |
This package contains the media services, interface, and associated configuration and utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
CreateBlobResult |
BlobContract.createBlockBlob(String container,
String blob,
InputStream contentStream,
CreateBlobOptions options)
Creates a block blob from a content stream, using the specified options.
|
| Modifier and Type | Method and Description |
|---|---|
CreateBlobOptions |
CreateBlobOptions.addMetadata(String key,
String value)
Adds a name-value pair to the blob metadata collection associated with
this
CreateBlobOptions instance. |
CreateBlobOptions |
CreateBlobOptions.setAccessCondition(com.microsoft.windowsazure.core.utils.AccessConditionHeader accessCondition)
Sets the access conditions for updating a blob.
|
CreateBlobOptions |
CreateBlobOptions.setBlobCacheControl(String blobCacheControl)
Sets the optional
x-ms-blob-cache-control header value for
the blob content. |
CreateBlobOptions |
CreateBlobOptions.setBlobContentEncoding(String blobContentEncoding)
Sets the optional
x-ms-blob-content-encoding header value
for the blob content. |
CreateBlobOptions |
CreateBlobOptions.setBlobContentLanguage(String blobContentLanguage)
Sets the optional
x-ms-blob-content-language header value
for the blob content. |
CreateBlobOptions |
CreateBlobOptions.setBlobContentMD5(String blobContentMD5)
Sets the optional MD5 hash value for the blob content.
|
CreateBlobOptions |
CreateBlobOptions.setBlobContentType(String blobContentType)
Sets the optional
x-ms-blob-content-type header value for
the blob content. |
CreateBlobOptions |
CreateBlobOptions.setCacheControl(String cacheControl)
Sets the optional
Cache-Control header value for the blob
content. |
CreateBlobOptions |
CreateBlobOptions.setContentEncoding(String contentEncoding)
Sets the optional
Content-Encoding header value for the blob
content. |
CreateBlobOptions |
CreateBlobOptions.setContentLanguage(String contentLanguage)
Sets the optional
Content-Language header value for the blob
content. |
CreateBlobOptions |
CreateBlobOptions.setContentMD5(String contentMD5)
Sets the optional
Content-MD5 header value for the blob
content. |
CreateBlobOptions |
CreateBlobOptions.setContentType(String contentType)
Sets the optional
Content-Type header value for the blob
content. |
CreateBlobOptions |
CreateBlobOptions.setLeaseId(String leaseId)
Sets a lease ID value to match when updating the blob.
|
CreateBlobOptions |
CreateBlobOptions.setMetadata(HashMap<String,String> metadata)
Sets the blob metadata collection to associate with the created blob.
|
CreateBlobOptions |
CreateBlobOptions.setSequenceNumber(Long sequenceNumber)
Sets the optional sequence number for a page blob in this
CreateBlobOptions instance. |
CreateBlobOptions |
CreateBlobOptions.setTimeout(Integer timeout)
Sets the optional server request timeout value associated with this
CreateBlobOptions instance. |
| Modifier and Type | Method and Description |
|---|---|
CreateBlobResult |
WritableBlobContainerContract.createBlockBlob(String blob,
InputStream contentStream,
CreateBlobOptions options)
Creates the block blob.
|
/**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/