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 Details
-
BlockIdValidator
public BlockIdValidator()
-
-
Method Details
-
validate
Description copied from class:Validator
Validates the parameter- Specified by:
validate
in classValidator<String>
- Parameters:
s
- parameter to be validated- Throws:
IllegalArgumentException
- if validation failed
-