Class DnsNameValidator
- java.lang.Object
-
- org.jclouds.predicates.Validator<String>
-
- org.jclouds.predicates.validators.DnsNameValidator
-
- Direct Known Subclasses:
ContainerNameValidator
public class DnsNameValidator extends Validator<String>
Validates name for dns-style names- See Also:
InputParamValidator
,Validator
-
-
Constructor Summary
Constructors Constructor Description DnsNameValidator(int min, int max)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IllegalArgumentException
exception(String vAppName, String reason)
protected com.google.common.base.CharMatcher
getAcceptableRange()
void
validate(String name)
Validates the parameter
-
-
-
Method Detail
-
validate
public void validate(String name)
Description copied from class:Validator
Validates the parameter
-
getAcceptableRange
protected com.google.common.base.CharMatcher getAcceptableRange()
-
exception
protected IllegalArgumentException exception(String vAppName, String reason)
-
-