org.appng.cli.validators

## Class FileExists

- java.lang.Object
- - org.appng.cli.validators.FileExists

- All Implemented Interfaces:
    com.beust.jcommander.IParameterValidator

      public class FileExists
      extends Object
      implements com.beust.jcommander.IParameterValidator

  An `com.beust.jcommander.IParameterValidator` assuring that a file exists.
  Author:
    Matthias Herlitzius

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FileExists()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `validate(String name, String value)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FileExists

          public FileExists()

  - ### Method Detail

    - #### validate

          public void validate(String name,
                               String value)
                        throws com.beust.jcommander.ParameterException

      Specified by:
        `validate` in interface `com.beust.jcommander.IParameterValidator`
      Throws:
        `com.beust.jcommander.ParameterException`

Copyright © 2011–2023 aiticon GmbH. All rights reserved.