Enum FileType
- All Implemented Interfaces:
Serializable,Comparable<FileType>,java.lang.constant.Constable,IndividualUriValue
public enum FileType extends Enum<FileType> implements IndividualUriValue
File Type is intrinsic to the file, independent of how the file is being used.
A file may have more than one file type assigned to it.
- Author:
- Gary O'Neall
-
Nested Class Summary
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description StringgetIndividualURI()StringgetLongName()StringgetNameSpace()static FileTypevalueOf(String name)Returns the enum constant of this type with the specified name.static FileType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getIndividualURI
- Specified by:
getIndividualURIin interfaceIndividualUriValue- Returns:
- a unique identifier for this value. Typically the namespace + the long name
-
getLongName
-
getNameSpace
-