Package com.ads.api.beans.common
Enum Class APIConstants.FilePathType
- All Implemented Interfaces:
Serializable,Comparable<APIConstants.FilePathType>,Constable
- Enclosing class:
- APIConstants
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic APIConstants.FilePathTypegetFilePathType(String value) static APIConstants.FilePathTypeReturns the enum constant of this class with the specified name.static APIConstants.FilePathType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
RELATIVE - Refers to the given file path type is Relative. Ex: /Downloads/Test.xml
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getFilePathType
-