Enum Class APIConstants.FilePathType

java.lang.Object
java.lang.Enum<APIConstants.FilePathType>
com.ads.api.beans.common.APIConstants.FilePathType
All Implemented Interfaces:
Serializable, Comparable<APIConstants.FilePathType>, Constable
Enclosing class:
APIConstants

public static enum APIConstants.FilePathType extends Enum<APIConstants.FilePathType>
These ENUM constants are used to specify the FilePathType as ABSOLUTE, RELATIVE. The constants of this enumerated type provides a simple classification of the declared elements.
  • Enum Constant Details

    • ABSOLUTE

      public static final APIConstants.FilePathType ABSOLUTE
      ABSOLUTE - Refers to the given file path type is Absolute. Ex: C:/Users/Desktop/Test.xml If you choose the FilePathType as ABSOLUTE then the path should exists in the server.
    • RELATIVE

      public static final APIConstants.FilePathType RELATIVE
      RELATIVE - Refers to the given file path type is Relative. Ex: /Downloads/Test.xml
  • Method Details

    • values

      public static APIConstants.FilePathType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static APIConstants.FilePathType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getFilePathType

      public static APIConstants.FilePathType getFilePathType(String value)