public class DnsNameValidator extends Validator<String>
InputParamValidator
,
Validator
Constructor and Description |
---|
DnsNameValidator(int min,
int max) |
Modifier and Type | Method and Description |
---|---|
protected IllegalArgumentException |
exception(String vAppName,
String reason) |
protected com.google.common.base.CharMatcher |
getAcceptableRange() |
void |
validate(String name)
Validates the parameter
|
public void validate(String name)
Validator
protected com.google.common.base.CharMatcher getAcceptableRange()
protected IllegalArgumentException exception(String vAppName, String reason)
Copyright © 2009-2012 jclouds. All Rights Reserved.