Package com.kazurayam.materialstore.core
Enum Class FileType
- All Implemented Interfaces:
IFileType
,Jsonifiable
,TemplateReady
,Serializable
,Comparable<FileType>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCascading Style SheetComma Separated ValuesMicrosoft Word document fileGraphviz DOT file".html"Markdown text fileMIME HTML filehttps://github.com/kazurayam/materialstore/issues/423an empty string "" as file extensionPortable Network GraphicsProject Object Model file of MavenMicrosoft PowerPoint fileScalable Vector Graphics filea Text file with extention ".txt"a file extension ".UNSUPPORTED"Web Open Font FormatMicorosft Excel fileMicrosoft Excel file with Macro -
Method Summary
Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
Methods inherited from interface com.kazurayam.materialstore.core.TemplateReady
toTemplateModel, toTemplateModelAsJson, toTemplateModelAsJson
-
Enum Constant Details
-
BMP
-
CSS
Cascading Style Sheet -
CSV
Comma Separated Values -
DOC
Microsoft Word document file -
DOCX
-
DOT
Graphviz DOT file -
GIF
-
HTML
".html" -
JAR
-
JPG
-
JPEG
-
JS
-
JSON
-
MD
Markdown text file -
MHTML
MIME HTML file -
PDF
-
PNG
Portable Network Graphics -
POM
Project Object Model file of Maven -
PPT
Microsoft PowerPoint file -
PPTX
-
SVG
Scalable Vector Graphics file -
TAR
-
TGZ
-
TXT
a Text file with extention ".txt" -
XLS
Micorosft Excel file -
XLSM
Microsoft Excel file with Macro -
XLSX
-
XML
-
ZIP
-
WOFF2
Web Open Font Format -
UNSUPPORTED
a file extension ".UNSUPPORTED" -
NULL_OBJECT
an empty string "" as file extension -
NO_COUNTERPART
https://github.com/kazurayam/materialstore/issues/423
-
-
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
-
getExtension
- Specified by:
getExtension
in interfaceIFileType
-
getDiffability
- Specified by:
getDiffability
in interfaceIFileType
-
getMimeTypes
- Specified by:
getMimeTypes
in interfaceIFileType
-
toString
-