public class BlobService extends Object
BlobContract.| Modifier and Type | Method and Description |
|---|---|
static BlobContract |
create()
A static factory method that returns an instance implementing
BlobContract using default values for
initializing a Configuration instance. |
static BlobContract |
create(Configuration config)
A static factory method that returns an instance implementing
BlobContract using the specified
Configuration instance. |
static BlobContract |
create(String profile)
A static factory method that returns an instance implementing
BlobContract using default values for
initializing a Configuration instance, and using the specified profile prefix for service settings. |
static BlobContract |
create(String profile,
Configuration config)
A static factory method that returns an instance implementing
BlobContract using the specified
Configuration instance and profile prefix for service settings. |
public static BlobContract create()
BlobContract using default values for
initializing a Configuration instance. Note that the returned interface will not work unless storage
account credentials have been added to the "META-INF/com.microsoft.windowsazure.properties" resource file.BlobContract for interacting with the blob service.public static BlobContract create(Configuration config)
BlobContract using the specified
Configuration instance. The Configuration instance must have storage account information and
credentials set before this method is called for the returned interface to work.config - A Configuration instance configured with storage account information and credentials.BlobContract for interacting with the blob service.public static BlobContract create(String profile)
BlobContract using default values for
initializing a Configuration instance, and using the specified profile prefix for service settings. Note
that the returned interface will not work unless storage account settings and credentials have been added to the
"META-INF/com.microsoft.windowsazure.properties" resource file with the specified profile prefix.profile - A string prefix for the account name and credentials settings in the Configuration instance.BlobContract for interacting with the blob service.public static BlobContract create(String profile, Configuration config)
BlobContract using the specified
Configuration instance and profile prefix for service settings. The Configuration instance must
have storage account information and credentials set with the specified profile prefix before this method is
called for the returned interface to work.profile - A string prefix for the account name and credentials settings in the Configuration instance.config - A Configuration instance configured with storage account information and credentials.BlobContract for interacting with the blob service./**
* 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.
*/