Package es.uji.crypto.xades.jxades.util
Enum DefaultFileExtension
- All Implemented Interfaces:
FileExtension,Serializable,Comparable<DefaultFileExtension>,java.lang.constant.Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDefaultFileExtension(String description, FileExtension... exts) privateDefaultFileExtension(String extension, String description) privateDefaultFileExtension(String description, String fileFilterName, FileExtension... exts) privateDefaultFileExtension(String extension, String description, String fileFilterName) privateDefaultFileExtension(String extension, String description, String fileFilterName, String prefixFileFilterPattern) privateDefaultFileExtension(String description, String fileFilterName, List<FileExtension> exts) -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(FileExtension object) static DefaultFileExtensiongetEnumById(String extension) static FileExtensiongetFileExtensionById(Class fileExtnsionEnumClass, String extension) static voidstatic DefaultFileExtensionReturns the enum constant of this type with the specified name.static DefaultFileExtension[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CERTIFICATE_KEY_STORE_P12
-
CERTIFICATE_KEY_STORE_PFX
-
CERTIFICATE_KEY_STORES
-
CERTIFICATE_CER
-
CERTIFICATE_CRT
-
CERTIFICATE_DER
-
ALL_CERTIFICATES
-
CERTIFICATE_REVOCATION_LIST
-
WINDOWS_SYSTEM_LIBRARY
-
LINUX_SYSTEM_LIBRARY
-
TXT_FILES
-
ALL_FILES
-
-
Field Details
-
extension
-
description
-
fileFilterName
-
fileFilterPattern
-
extensions
-
fileExtensionsMap
-
-
Constructor Details
-
DefaultFileExtension
-
DefaultFileExtension
-
DefaultFileExtension
-
DefaultFileExtension
-
DefaultFileExtension
-
DefaultFileExtension
-
-
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
-
getDescription
- Specified by:
getDescriptionin interfaceFileExtension
-
getExtension
- Specified by:
getExtensionin interfaceFileExtension
-
getFileFilterName
- Specified by:
getFileFilterNamein interfaceFileExtension
-
getFileFilterPattern
- Specified by:
getFileFilterPatternin interfaceFileExtension
-
getExtensions
- Specified by:
getExtensionsin interfaceFileExtension
-
contains
- Specified by:
containsin interfaceFileExtension
-
getEnumById
-
getFileExtensionById
-
main
-