public interface IParameterValidator2 extends IParameterValidator
| Modifier and Type | Method and Description |
|---|---|
void |
validate(String name,
String value,
ParameterDescription pd)
Validate the parameter.
|
validatevoid validate(String name, String value, ParameterDescription pd) throws ParameterException
name - The name of the parameter (e.g. "-host").value - The value of the parameter that we need to validatepd - The description of this parameterParameterException - Thrown if the value of the parameter is invalid.Copyright © 2015–2017 The veraPDF Consortium. All rights reserved.