public final class FileType extends Object
Represents file type. Provides methods to obtain list of all file types supported by <b>GroupDocs.Watermark</b>
.
Modifier and Type | Field and Description |
---|---|
static FileType |
BMP
Bitmap Image File (.bmp)
|
static FileType |
DOC
Microsoft Word Document (.doc)
|
static FileType |
DOCM
Word Open XML Macro-Enabled Document (.docm)
|
static FileType |
DOCX
Microsoft Word Open XML Document (.docx)
|
static FileType |
DOT
Word Document Template (.dot)
|
static FileType |
DOTM
Word Open XML Macro-Enabled Document Template (.dotm)
|
static FileType |
DOTX
Word Open XML Document Template (.dotx)
|
static FileType |
EML
E-Mail Message (.eml)
|
static FileType |
EMLX
Apple Mail Message (.emlx)
|
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
Graphical Interchange Format File (.gif)
|
static FileType |
JPEG
JPEG Image (.jpeg)
|
static FileType |
JPF
JPEG 2000 Image File (.jpf)
|
static FileType |
JPG
JPEG Image (.jpg)
|
static FileType |
JPM
JPEG 2000 Image File (.jpm)
|
static FileType |
JPX
JPEG 2000 Image File (.jpx)
|
static FileType |
MSG
Outlook Mail Message (.msg)
|
static FileType |
ODT
OpenDocument Text Document (.odt)
|
static FileType |
OFT
Outlook email message template (.oft)
|
static FileType |
OOXML
Office open xml file (.ooxml).
|
static FileType |
PDF
Portable Document Format File (.pdf).
|
static FileType |
PNG
Portable Network Graphic (.png)
|
static FileType |
POTM
PowerPoint Open XML Macro-Enabled Presentation Template (.potm)
|
static FileType |
POTX
PowerPoint Open XML Presentation Template (.potx)
|
static FileType |
PPS
PowerPoint Presentation Show (.pps)
|
static FileType |
PPSM
PowerPoint Open XML Macro-Enabled Presentation (.ppsm)
|
static FileType |
PPSX
PowerPoint Open XML Presentation Show (.ppsx)
|
static FileType |
PPT
PowerPoint Presentation (.ppt)
|
static FileType |
PPTM
PowerPoint Open XML Macro-Enabled Presentation
|
static FileType |
PPTX
PowerPoint Open XML Presentation (.pptx)
|
static FileType |
RTF
Rich Text Format File (.rtf)
|
static FileType |
TIF
Tagged Image File (.tif)
|
static FileType |
TIFF
Tagged Image File Format (.tiff)
|
static FileType |
Unknown
Represents unknown file type.
|
static FileType |
VDW
Visio Web Drawing (.vdw)
|
static FileType |
VDX
Visio Drawing XML File (.vdx)
|
static FileType |
VSD
Visio Drawing File (.vsd)
|
static FileType |
VSDM
Visio Macro-Enabled Drawing (.vsdm)
|
static FileType |
VSDX
Visio Drawing (.vsdx)
|
static FileType |
VSS
Visio Stencil File(.vss)
|
static FileType |
VSSM
Visio Macro-Enabled Stencil File (.vssm)
|
static FileType |
VSSX
Visio Stencil File (.vssx)
|
static FileType |
VST
Visio Drawing Template (.vst)
|
static FileType |
VSTM
Visio Macro-Enabled Drawing Template (.vstm)
|
static FileType |
VSTX
Visio Drawing Template (.vstx)
|
static FileType |
VSX
Visio Stencil XML File (.vsx)
|
static FileType |
VTX
Visio Template XML File (.vtx)
|
static FileType |
WEBP
WebP Image (.webp)
|
static FileType |
XLS
Excel Spreadsheet (.xls)
|
static FileType |
XLSB
Excel Binary Spreadsheet (.xlsb)
|
static FileType |
XLSM
Excel Open XML Macro-Enabled Spreadsheet (.xlsm)
|
static FileType |
XLSX
Microsoft Excel Open XML Spreadsheet (.xlsx)
|
static FileType |
XLT
Excel 97-2003 workbook template (.xlt)
|
static FileType |
XLTM
Excel Open XML macro-enabled workbook template (.xltm)
|
static FileType |
XLTX
Excel Open XML workbook template (.xltx)
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(FileType other)
Determines whether the current
FileType is the same as specified FileType object. |
boolean |
equals(Object obj)
Determines whether the current
FileType is the same as specified object. |
static FileType |
fromExtension(String extension)
Maps file extension to file type.
|
String |
getExtension()
Filename suffix (including the period ".") e.g.
|
String |
getFileFormatName()
File type name e.g.
|
int |
getFormatFamily()
Format fammily.
|
static FileType[] |
getSupportedFileTypes()
Retrieves supported file types
|
int |
hashCode()
Returns the hash code for the current
FileType object. |
static boolean |
op_Equality(FileType left,
FileType right)
Determines whether two
FileType objects are the same. |
static boolean |
op_Inequality(FileType left,
FileType right)
Determines whether two
FileType 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
Visio Drawing File (.vsd)
public static final FileType VSDX
Visio Drawing (.vsdx)
public static final FileType VSS
Visio Stencil File(.vss)
public static final FileType VSSX
Visio Stencil File (.vssx)
public static final FileType VSDM
Visio Macro-Enabled Drawing (.vsdm)
public static final FileType VST
Visio Drawing Template (.vst)
public static final FileType VSTX
Visio Drawing Template (.vstx)
public static final FileType VSTM
Visio Macro-Enabled Drawing Template (.vstm)
public static final FileType VSSM
Visio Macro-Enabled Stencil File (.vssm)
public static final FileType VSX
Visio Stencil XML File (.vsx)
public static final FileType VTX
Visio Template XML File (.vtx)
public static final FileType VDW
Visio Web Drawing (.vdw)
public static final FileType VDX
Visio Drawing XML File (.vdx)
public static final FileType MSG
Outlook Mail Message (.msg)
public static final FileType EML
E-Mail Message (.eml)
public static final FileType EMLX
Apple Mail Message (.emlx)
public static final FileType OFT
Outlook email message template (.oft)
public static final FileType TIF
Tagged Image File (.tif)
public static final FileType TIFF
Tagged Image File Format (.tiff)
public static final FileType JPG
JPEG Image (.jpg)
public static final FileType JPEG
JPEG Image (.jpeg)
public static final FileType PNG
Portable Network Graphic (.png)
public static final FileType GIF
Graphical Interchange Format File (.gif)
public static final FileType BMP
Bitmap Image File (.bmp)
public static final FileType JPF
JPEG 2000 Image File (.jpf)
public static final FileType JPX
JPEG 2000 Image File (.jpx)
public static final FileType JPM
JPEG 2000 Image File (.jpm)
public static final FileType WEBP
WebP Image (.webp)
public static final FileType PDF
Portable Document Format File (.pdf).
public static final FileType PPT
PowerPoint Presentation (.ppt)
public static final FileType PPTX
PowerPoint Open XML Presentation (.pptx)
public static final FileType PPS
PowerPoint Presentation Show (.pps)
public static final FileType PPSX
PowerPoint Open XML Presentation Show (.ppsx)
public static final FileType PPTM
PowerPoint Open XML Macro-Enabled Presentation
public static final FileType POTX
PowerPoint Open XML Presentation Template (.potx)
public static final FileType POTM
PowerPoint Open XML Macro-Enabled Presentation Template (.potm)
public static final FileType PPSM
PowerPoint Open XML Macro-Enabled Presentation (.ppsm)
public static final FileType XLS
Excel Spreadsheet (.xls)
public static final FileType XLSX
Microsoft Excel Open XML Spreadsheet (.xlsx)
public static final FileType XLSM
Excel Open XML Macro-Enabled Spreadsheet (.xlsm)
public static final FileType XLTX
Excel Open XML workbook template (.xltx)
public static final FileType XLTM
Excel Open XML macro-enabled workbook template (.xltm)
public static final FileType XLSB
Excel Binary Spreadsheet (.xlsb)
public static final FileType XLT
Excel 97-2003 workbook template (.xlt)
public static final FileType DOC
Microsoft Word Document (.doc)
public static final FileType DOCX
Microsoft Word Open XML Document (.docx)
public static final FileType DOCM
Word Open XML Macro-Enabled Document (.docm)
public static final FileType DOT
Word Document Template (.dot)
public static final FileType DOTX
Word Open XML Document Template (.dotx)
public static final FileType DOTM
Word Open XML Macro-Enabled Document Template (.dotm)
public static final FileType RTF
Rich Text Format File (.rtf)
public static final FileType ODT
OpenDocument Text Document (.odt)
public static final FileType FlatOpc
Office Open XML WordprocessingML stored in a flat XML file instead of a ZIP package (.xml)
public static final FileType FlatOpcMacroEnabled
Office Open XML WordprocessingML Macro-Enabled Document stored in a flat XML file instead of a ZIP package (.xml)
public static final FileType FlatOpcTemplate
Office Open XML WordprocessingML Template (macro-free) stored in a flat XML file instead of a ZIP package (.xml)
public static final FileType FlatOpcTemplateMacroEnabled
Office Open XML WordprocessingML Macro-Enabled Template stored in a flat XML file instead of a ZIP package (.xml)
public final String getFileFormatName()
File type name e.g. "Microsoft Word Document".
public final String getExtension()
Filename suffix (including the period ".") e.g. ".doc".
public final int getFormatFamily()
Format fammily.
public final boolean equals(FileType other)
Determines whether the current FileType
is the same as specified FileType
object.
other
- The object to compare with the current FileType
object.trueif both
FileType
objects are the same; otherwise, false
public static FileType fromExtension(String extension)
Maps file extension to file type.
extension
- File extension (including the period ".").Unknown
file type.T:System.ArgumentException
- Thrown when extension
is null or empty string.public static FileType[] getSupportedFileTypes()
Retrieves supported file types
public boolean equals(Object obj)
Determines whether the current FileType
is the same as specified object.
public int hashCode()
Returns the hash code for the current FileType
object.
public static boolean op_Equality(FileType left, FileType right)
Determines whether two FileType
objects are the same.
left
- Left FileType
object.right
- Right FileType
object.trueif both
FileType
objects are the same; otherwise,
false
public static boolean op_Inequality(FileType left, FileType right)
Determines whether two FileType
objects are not the same.
left
- Left FileType
object.right
- Right FileType
object.trueif both
FileType
objects are not the same; otherwise,
false
Copyright © 2020. All rights reserved.