Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (C) 2009-2015 Dell, Inc. See annotations for authorship information ==================================================================== 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. ====================================================================
package org.dasein.cloud.azure.storage;
import  javax.annotation.Nonnull;
    static final  int                                       MAX_BUCKETS         = 100;
    static final  int                                       MAX_OBJECTS         = -1;
    static final Storage<org.dasein.util.uom.storage.ByteMAX_OBJECT_SIZE     = new Storage<org.dasein.util.uom.storage.Byte>(5000000000L, .);
    public AzureBlobStoreCapabilities(Azure provider) {
        super(provider);
    }
    @Override
    public boolean allowsNestedBuckets() throws CloudExceptionInternalException {
        return false;
    }
    @Override
    public boolean allowsRootObjects() throws CloudExceptionInternalException {
        return false;
    }
    @Override
    public boolean allowsPublicSharing() throws CloudExceptionInternalException {
        return true;
    }
    @Override
    public int getMaxBuckets() throws CloudExceptionInternalException {
        return ;
    }
    @Nonnull
    @Override
        return ;
    }
    @Override
    public int getMaxObjectsPerBucket() throws CloudExceptionInternalException {
        return ;
    }
    @Nonnull
    @Override
        return NamingConstraints.getAlphaNumeric(1, 255).lowerCaseOnly().limitedToLatin1().constrainedBy(new char[]{'-''.'});
    }
    @Nonnull
    @Override
        return NamingConstraints.getAlphaNumeric(1, 255).lowerCaseOnly().limitedToLatin1().constrainedBy(new char[]{'-''.'',''#''+'});
    }
    @Nonnull
    @Override
    public String getProviderTermForBucket(@Nonnull Locale locale) {
        return "bucket";
    }
    @Nonnull
    @Override
    public String getProviderTermForObject(@Nonnull Locale locale) {
        return "object";
    }
New to GrepCode? Check out our FAQ X