Class BlockIdValidator
- java.lang.Object
-
- org.jclouds.predicates.Validator<String>
-
- org.jclouds.azureblob.predicates.validators.BlockIdValidator
-
public class BlockIdValidator extends Validator<String>
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 Constructor Description BlockIdValidator()
-
-
-
Method Detail
-
validate
public void validate(@Nullable String s) throws IllegalArgumentException
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
-
-