Package com.saperion.ngc.resultset
Enum Class FileIcon.KnownExtensions
- All Implemented Interfaces:
Serializable
,Comparable<FileIcon.KnownExtensions>
,Constable
- Enclosing class:
- FileIcon
File extensions associated with an icon.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBitmaps.MS-Word.MS-Word (XML).General icon for unknown files.GIF images.JPEG images.JPEG images (old extension).E-Mails (Outlook).PDF files.PNG images.MS Powerpoint.MS Powerpoint (XML).TIFF files (old extension).TIFF files.MS Visio files.MS Excel files.MS Excel files (XML). -
Method Summary
Modifier and TypeMethodDescriptionstatic FileIcon.KnownExtensions
Returns the enum constant of this class with the specified name.static FileIcon.KnownExtensions[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GENERAL
General icon for unknown files. -
DOC
MS-Word. -
DOCX
MS-Word (XML). -
BMP
Bitmaps. -
JPEG
JPEG images. -
JPG
JPEG images (old extension). -
PNG
PNG images. -
GIF
GIF images. -
MSG
E-Mails (Outlook). -
PDF
PDF files. -
PPT
MS Powerpoint. -
PPTX
MS Powerpoint (XML). -
TIF
TIFF files (old extension). -
TIFF
TIFF files. -
VSD
MS Visio files. -
XLS
MS Excel files. -
XLSX
MS Excel files (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
-
getFileIconPath
- Returns:
- the path of the icon-file
-