public class BucketNameValidator extends DnsNameValidator
InputParamValidator
,
Validator
Constructor and Description |
---|
BucketNameValidator() |
Modifier and Type | Method and Description |
---|---|
protected IllegalArgumentException |
exception(String containerName,
String reason) |
protected com.google.common.base.CharMatcher |
getAcceptableRange()
Amazon also permits periods in the dns name.
|
void |
validate(String containerName)
Validates the parameter
|
public void validate(String containerName)
Validator
validate
in class DnsNameValidator
containerName
- parameter to be validatedprotected IllegalArgumentException exception(String containerName, String reason)
exception
in class DnsNameValidator
protected com.google.common.base.CharMatcher getAcceptableRange()
getAcceptableRange
in class DnsNameValidator
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.