public static final class VeraCliArgParser.FileValidator extends Object implements IParameterValidator
File, see
IParameterValidator. Enforces an existing, readable file.| Constructor and Description |
|---|
VeraCliArgParser.FileValidator() |
public void validate(String name, String value) throws ParameterException
validate in interface IParameterValidatorname - The name of the parameter (e.g. "-host").value - The value of the parameter that we need to validateParameterException - Thrown if the value of the parameter is invalid.Copyright © 2015–2017 The veraPDF Consortium. All rights reserved.