public final class FileType extends Object
This class provides methods to obtain list of all file types supported by GroupDocs.Watermark.
Learn more
Modifier and Type | Field and Description |
---|---|
static FileType |
BMP
Files having extension .BMP represent Bitmap Image files that are used to store bitmap digital images.
|
static FileType |
DOC
Files with .doc extension represent documents generated by Microsoft Word or other word processing
documents in binary file format.
|
static FileType |
DOCM
DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros.
|
static FileType |
DOCX
DOCX is a well-known format for Microsoft Word documents.
|
static FileType |
DOT
Files with .DOT extension are template files created by Microsoft Word to have pre-formatted settings
for generation of further DOC or DOCX files.
|
static FileType |
DOTM
A file with DOTM extension represents template file created with Microsoft Word 2007 or higher.
|
static FileType |
DOTX
Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings
for generation of further DOCX files.
|
static FileType |
EML
EML file format represents email messages saved using Outlook and other relevant applications.
|
static FileType |
EMLX
The EMLX file format is implemented and developed by Apple.
|
static FileType |
FlatOpc
Office Open XML WordprocessingML stored in a flat XML file instead of a ZIP package (.xml).
|
static FileType |
FlatOpcMacroEnabled
Office Open XML WordprocessingML Macro-Enabled Document stored in a flat XML file instead of a ZIP package (.xml).
|
static FileType |
FlatOpcTemplate
Office Open XML WordprocessingML Template (macro-free) stored in a flat XML file instead of a ZIP package (.xml).
|
static FileType |
FlatOpcTemplateMacroEnabled
Office Open XML WordprocessingML Macro-Enabled Template stored in a flat XML file instead of a ZIP package (.xml).
|
static FileType |
GIF
A GIF or Graphical Interchange Format is a type of highly compressed image.
|
static FileType |
JPEG
A JPEG is a type of image format that is saved using the method of lossy compression.
|
static FileType |
JPF
JPEG 2000 (JPF) is an image coding system and state-of-the-art image compression standard.
|
static FileType |
JPG
A JPEG is a type of image format that is saved using the method of lossy compression.
|
static FileType |
JPM
JPEG 2000 (JPM) is an image coding system and state-of-the-art image compression standard.
|
static FileType |
JPX
JPEG 2000 (JPX) is an image coding system and state-of-the-art image compression standard.
|
static FileType |
MSG
MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact,
appointment, or other tasks.
|
static FileType |
ODT
ODT files are type of documents created with word processing applications that are based on OpenDocument
Text File format.
|
static FileType |
OFT
Files with .OFT extension represent message template files that are created using Microsoft Outlook.
|
static FileType |
OOXML
Office open xml file (.ooxml).
|
static FileType |
PDF
Portable Document Format (PDF) is a type of document created by Adobe back in 1990s.
|
static FileType |
PNG
PNG, Portable Network Graphics, refers to a type of raster image file format that use loseless compression.
|
static FileType |
POTM
Files with POTM extension are Microsoft PowerPoint template files with support for Macros.
|
static FileType |
POTX
Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with
Microsoft PowerPoint 2007 and above.
|
static FileType |
PPS
PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose.
|
static FileType |
PPSM
Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft
PowerPoint 2007 or higher.
|
static FileType |
PPSX
PPSX, Power Point Slide Show, file are created using Microsoft PowerPoint 2007 and above for
Slide Show purpose.
|
static FileType |
PPT
A file with PPT extension represents PowerPoint file that consists of a collection of slides for
displaying as SlideShow.
|
static FileType |
PPTM
Files with PPTM extension are Macro-enabled Presentation files that are created with
Microsoft PowerPoint 2007 or higher versions.
|
static FileType |
PPTX
Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application.
|
static FileType |
RTF
Introduced and documented by Microsoft, the Rich Text Format (RTF) represents a method of encoding
formatted text and graphics for use within applications.
|
static FileType |
TIF
TIFF or TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety
of devices that comply with this file format standard.
|
static FileType |
TIFF
TIFF or TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety
of devices that comply with this file format standard.
|
static FileType |
Unknown
Represents unknown file type.
|
static FileType |
VDW
VDW is the Visio Graphics Service file format that specifies the streams and storages required for
rendering a Web drawing.
|
static FileType |
VDX
Any drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension.
|
static FileType |
VSD
VSD files are drawings created with Microsoft Visio application to represent variety of graphical
objects and the interconnection between these.
|
static FileType |
VSDM
Files with VSDM extension are drawing files created with Microsoft Visio application that supports macros.
|
static FileType |
VSDX
Files with .VSDX extension represent Microsoft Visio file format introduced from Microsoft
Office 2013 onwards.
|
static FileType |
VSS
VSS are stencil files created with Microsoft Visio 2007 and earlier.
|
static FileType |
VSSM
Files with .VSSM extension are Microsoft Visio Stencil files that support provide support for macros.
|
static FileType |
VSSX
Files with .VSSX extension are drawing stencils created with Microsoft Visio 2013 and above.
|
static FileType |
VST
Files with VST extension are vector image files created with Microsoft Visio and act as template for
creating further files.
|
static FileType |
VSTM
Files with VSTM extension are template files created with Microsoft Visio that support macros.
|
static FileType |
VSTX
Files with VSTX extensions are drawing template files created with Microsoft Visio 2013 and above.
|
static FileType |
VSX
Files with .VSX extension refer to stencils that consist of drawings and shapes that are used for
creating diagrams in Microsoft Visio.
|
static FileType |
VTX
A file with VTX extension is a Microsoft Visio drawing template that is saved to disc in XML file format.
|
static FileType |
WEBP
WebP, introduced by Google, is a modern raster web image file format that is based on lossless and
lossy compression.
|
static FileType |
XLS
Files with XLS extension represent Excel Binary File Format.
|
static FileType |
XLSB
XLSB file format specifies the Excel Binary File Format, which is a collection of records and
structures that specify Excel workbook content.
|
static FileType |
XLSM
Files with XLSM extension is a type of Spreasheet files that support Macros.
|
static FileType |
XLSX
XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of
Microsoft Office 2007.
|
static FileType |
XLT
Files with .XLT extension are template files created with Microsoft Excel which is a spreadsheet
application which comes as part of Microsoft Office suite.
|
static FileType |
XLTM
The XLTM file extension represents files that are generated by Microsoft Excel as Macro-enabled
template files.
|
static FileType |
XLTX
Files with XLTX extension represent Microsoft Excel Template files that are based on the Office OpenXML
file format specifications.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(FileType other)
|
boolean |
equals(Object obj)
Determines whether the current
is the same as the specified object. |
static FileType |
fromExtension(String extension)
Maps the file extension to the file type.
|
String |
getExtension()
Gets the file name suffix (including the period ".") e.g., ".doc".
|
String |
getFileFormatName()
Gets the file type name e.g., "Microsoft Word Document".
|
int |
getFormatFamily()
Gets the format family.
|
static FileType[] |
getSupportedFileTypes()
Retrieves the supported file types.
|
int |
hashCode()
Returns a hash code for the current
object. |
static boolean |
op_Equality(FileType left,
FileType right)
Determines whether two
objects are the same. |
static boolean |
op_Inequality(FileType left,
FileType right)
Determines whether two
objects are not the same. |
String |
toString()
Returns a string that represents the current object.
|
public static final FileType Unknown
Represents unknown file type.
public static final FileType OOXML
Office open xml file (.ooxml).
public static final FileType VSD
public static final FileType VSDX
public static final FileType VSS
public static final FileType VSSX
public static final FileType VSDM
public static final FileType VST
public static final FileType VSTX
public static final FileType VSTM
public static final FileType VSSM
public static final FileType VSX
public static final FileType VTX
public static final FileType VDW
public static final FileType VDX
public static final FileType MSG
public static final FileType EML
public static final FileType EMLX
public static final FileType OFT
public static final FileType TIF
public static final FileType TIFF
public static final FileType JPG
public static final FileType JPEG
public static final FileType PNG
public static final FileType GIF
public static final FileType BMP
public static final FileType JPF
public static final FileType JPX
public static final FileType JPM
public static final FileType WEBP
public static final FileType PDF
public static final FileType PPT
public static final FileType PPTX
public static final FileType PPS
public static final FileType PPSX
public static final FileType PPTM
public static final FileType POTX
public static final FileType POTM
public static final FileType PPSM
public static final FileType XLS
public static final FileType XLSX
public static final FileType XLSM
public static final FileType XLTX
public static final FileType XLTM
public static final FileType XLSB
public static final FileType XLT
public static final FileType DOC
public static final FileType DOCX
public static final FileType DOCM
public static final FileType DOT
public static final FileType DOTX
public static final FileType DOTM
public static final FileType RTF
public static final FileType ODT
public static final FileType FlatOpc
public static final FileType FlatOpcMacroEnabled
public static final FileType FlatOpcTemplate
public final String getFileFormatName()
Gets the file type name e.g., "Microsoft Word Document".
public final String getExtension()
Gets the file name suffix (including the period ".") e.g., ".doc".
public final int getFormatFamily()
Gets the format family.
public final boolean equals(FileType other)
public static FileType fromExtension(String extension)
extension
- The file extension (including the period ".").FileType.Unknown
file type.System.ArgumentException
- When extension
is null
or empty string.public static FileType[] getSupportedFileTypes()
Retrieves the supported file types.
public boolean equals(Object obj)
FileType
is the same as the specified object.public int hashCode()
FileType
object.public static boolean op_Equality(FileType left, FileType right)
FileType
objects are the same.public static boolean op_Inequality(FileType left, FileType right)
FileType
objects are not the same.