All Implemented Interfaces:
com.google.common.base.Predicate<String >
, Predicate <String >
Direct Known Subclasses:
AWSS3BucketNameValidator
Validates name for S3 buckets. The complete requirements are listed at:
http://docs.amazonwebservices.com/AmazonS3/latest/index.html?BucketRestrictions.html
See Also:
Constructor Summary
Constructors
Method Summary
All Methods Instance Methods Concrete Methods
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
Constructor Details
BucketNameValidator
@Inject
public BucketNameValidator ()
Method Details
validate
public void validate (String name)
Validates the parameter
Specified by:
validate
in class Validator <String >
Parameters:
name
- parameter to be validated