org.jclouds.azureblob.predicates.validators
Class ContainerNameValidator
java.lang.Object
org.jclouds.predicates.Validator<String>
org.jclouds.predicates.validators.DnsNameValidator
org.jclouds.azureblob.predicates.validators.ContainerNameValidator
- All Implemented Interfaces:
- com.google.common.base.Predicate<String>
public class ContainerNameValidator
- extends DnsNameValidator
Validates name for Azure container. The complete requirements are listed at:
http://weblogs.asp.net
/vblasberg/archive/2009/02/17/azure-details-and-limitations-blobs-tables-and-queues.aspx
- Author:
- Oleksiy Yarmula
- See Also:
InputParamValidator
,
Validator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.common.base.Predicate |
equals |
validate
public void validate(String containerName)
- Description copied from class:
Validator
- Validates the parameter
- Overrides:
validate
in class DnsNameValidator
- Parameters:
containerName
- parameter to be validated
exception
protected IllegalArgumentException exception(String containerName,
String reason)
- Overrides:
exception
in class DnsNameValidator
Copyright © 2009-2011 jclouds. All Rights Reserved.