Class BlockIdValidator
java.lang.Object
org.jclouds.predicates.Validator<String>
org.jclouds.azureblob.predicates.validators.BlockIdValidator
Validates Block IDs used in Put Block:
"A valid Base64 string value that identifies the block. Prior to encoding, the string must
be less than or equal to 64 bytes in size. For a given blob, the length of the value
specified for the blockid parameter must be the same size for each block. Note that the
Base64 string must be URL-encoded."
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jclouds.predicates.Validator
apply, testMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.common.base.Predicate
equals
-
Constructor Details
-
BlockIdValidator
public BlockIdValidator()
-
-
Method Details
-
validate
- Specified by:
validatein classorg.jclouds.predicates.Validator<String>- Throws:
IllegalArgumentException
-