public class LanguageValidator extends AbstractObjectValidator<T,String>
| コンストラクタと説明 |
|---|
LanguageValidator(String parameterName,
String value) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Language |
getLanguage() |
Language |
getUniqueLanguage(Collection<Language> candidates) |
T |
notEmpty() |
T |
shorterThanOrEqualsTo(int arg0) |
T |
trim() |
getParameterName, getValue, notNull, setValuepublic Language getLanguage() throws InvalidParameterException
public Language getUniqueLanguage(Collection<Language> candidates) throws InvalidParameterException, LanguageNotUniquelyDecidedException, UnsupportedLanguageException
public T notEmpty() throws InvalidParameterException
public T shorterThanOrEqualsTo(int arg0) throws InvalidParameterException
public T trim()
Copyright © 2019. All rights reserved.