Class FileWritableValidator

java.lang.Object
com.github.joschi.jadconfig.validators.FileWritableValidator
All Implemented Interfaces:
Validator<File>

public class FileWritableValidator extends Object implements Validator<File>
  • Constructor Details

    • FileWritableValidator

      public FileWritableValidator()
  • Method Details

    • validate

      public void validate(String name, File value) throws ValidationException
      Description copied from interface: Validator
      Validates the value value the of provided configuration parameter name
      Specified by:
      validate in interface Validator<File>
      Parameters:
      name - The name of the configuration parameter
      value - The value of the configuration parameter. Might also be null.
      Throws:
      ValidationException - If the configuration parameter name couldn't be validated