public class Validator extends Object
| Constructor and Description |
|---|
Validator(String name,
Class type)
Constructs new Validator object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of the entry.
|
void |
validate(Object obj)
Checks the validity of the given value for the entry.
|
public String getName()
public void validate(Object obj) throws InvalidConfigException
obj - InvalidConfigExceptionCopyright © 2017. All rights reserved.