public final class FileType extends Object
Represents file type.
Modifier and Type | Field and Description |
---|---|
static FileType |
BMP
Bitmap Image File (.bmp)
|
static FileType |
CDR
CorelDraw Vector Graphic Drawing (.cdr) is a vector drawing image file that is natively created with CorelDRAW for storing digital image encoded and compressed.
|
static FileType |
CGM
Computer Graphics Metafile (.cgm)
|
static FileType |
CMX
CorelDRAW Metafile Exchange Image File (.cmx)
|
static FileType |
CSV
Comma Separated Values File (.csv)
|
static FileType |
DCM
DICOM Image (.dcm)
|
static FileType |
DJVU
DjVu Image (.djvu)
|
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 |
EMF
Enhanced Windows Metafile (.emf)
|
static FileType |
EPS
Encapsulated PostScript File (.eps)
|
static FileType |
GIF
Graphical Interchange Format File (.gif)
|
static FileType |
JPEG
JPEG Image (.jpeg)
|
static FileType |
JPG
JPEG Image (.jpg)
|
static FileType |
ODG
OpenDocument Graphic File (.odg)
|
static FileType |
ODP
OpenDocument Presentation (.odp)
|
static FileType |
ODS
OpenDocument Spreadsheet (.ods)
|
static FileType |
ODT
OpenDocument Text Document (.odt)
|
static FileType |
OTP
OpenDocument Presentation Template (.otp)
|
static FileType |
OTS
OpenDocument Spreadsheet Template (.ots)
|
static FileType |
OTT
OpenDocument Document Template (.ott)
|
static FileType |
PCL
Printer Command Language Document (.pcl)
|
static FileType |
PDF
Portable Document Format File (.pdf)
|
static FileType |
PNG
Portable Network Graphic (.png)
|
static FileType |
POT
PowerPoint Template (.pot)
|
static FileType |
POTM
PowerPoint Open XML Macro-Enabled Presentation Template (.potm)
|
static FileType |
POTX
PowerPoint Open XML Presentation Template (.potx)
|
static FileType |
PPS
PowerPoint Slide Show (.pps)
|
static FileType |
PPSM
PowerPoint Open XML Macro-Enabled Slide (.ppsm)
|
static FileType |
PPSX
PowerPoint Open XML Slide 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 |
PS
PostScript File (.ps)
|
static FileType |
PSD
Adobe Photoshop Document (.psd)
|
static FileType |
RTF
Rich Text Format File (.rtf)
|
static FileType |
SVG
Scalable Vector Graphics File (.svg)
|
static FileType |
TIF
Tagged Image File (.tif)
|
static FileType |
TIFF
Tagged Image File Format (.tiff)
|
static FileType |
TSV
Tab Separated Values File (.tsv)
|
static FileType |
TXT
Plain Text File (.txt)
|
static FileType |
Unknown
Represents unknown file type.
|
static FileType |
VCF
vCard File (.vcf)
|
static FileType |
WEBP
WebP Image (.webp)
|
static FileType |
WMF
Windows Metafile (.wmf)
|
static FileType |
WPD
WordPerfect Document (.wpd)
|
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)
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(FileType other)
|
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 |
getFileFormat()
File type name e.g.
|
static List<FileType> |
getSupportedFileTypes()
Retrieves supported file types
|
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 BMP
Bitmap Image File (.bmp)
public static final FileType CDR
CorelDraw Vector Graphic Drawing (.cdr) is a vector drawing image file that is natively created with CorelDRAW for storing digital image encoded and compressed. Such a drawing file contains text, lines, shapes, images, colours and effects for vector representation of image contents. Learn more about this file format here.
public static final FileType CGM
Computer Graphics Metafile (.cgm)
public static final FileType CMX
CorelDRAW Metafile Exchange Image File (.cmx)
public static final FileType CSV
Comma Separated Values File (.csv)
public static final FileType DCM
DICOM Image (.dcm)
public static final FileType DJVU
DjVu Image (.djvu)
public static final FileType DOC
Microsoft Word Document (.doc)
public static final FileType DOCM
Word Open XML Macro-Enabled Document (.docm)
public static final FileType DOCX
Microsoft Word Open XML Document (.docx)
public static final FileType DOT
Word Document Template (.dot)
public static final FileType DOTM
Word Open XML Macro-Enabled Document Template (.dotm)
public static final FileType DOTX
Word Open XML Document Template (.dotx)
public static final FileType EMF
Enhanced Windows Metafile (.emf)
public static final FileType EPS
Encapsulated PostScript File (.eps)
public static final FileType GIF
Graphical Interchange Format File (.gif)
public static final FileType JPEG
JPEG Image (.jpeg)
public static final FileType JPG
JPEG Image (.jpg)
public static final FileType ODG
OpenDocument Graphic File (.odg)
public static final FileType ODP
OpenDocument Presentation (.odp)
public static final FileType ODS
OpenDocument Spreadsheet (.ods)
public static final FileType ODT
OpenDocument Text Document (.odt)
public static final FileType OTP
OpenDocument Presentation Template (.otp)
public static final FileType OTS
OpenDocument Spreadsheet Template (.ots)
public static final FileType OTT
OpenDocument Document Template (.ott)
public static final FileType PCL
Printer Command Language Document (.pcl)
public static final FileType PDF
Portable Document Format File (.pdf)
public static final FileType PNG
Portable Network Graphic (.png)
public static final FileType POT
PowerPoint Template (.pot)
public static final FileType POTM
PowerPoint Open XML Macro-Enabled Presentation Template (.potm)
public static final FileType POTX
PowerPoint Open XML Presentation Template (.potx)
public static final FileType PPS
PowerPoint Slide Show (.pps)
public static final FileType PPSM
PowerPoint Open XML Macro-Enabled Slide (.ppsm)
public static final FileType PPSX
PowerPoint Open XML Slide Show (.ppsx)
public static final FileType PPT
PowerPoint Presentation (.ppt)
public static final FileType PPTM
PowerPoint Open XML Macro-Enabled Presentation
public static final FileType PPTX
PowerPoint Open XML Presentation (.pptx)
public static final FileType PS
PostScript File (.ps)
public static final FileType PSD
Adobe Photoshop Document (.psd)
public static final FileType RTF
Rich Text Format File (.rtf)
public static final FileType SVG
Scalable Vector Graphics File (.svg)
public static final FileType TIF
Tagged Image File (.tif)
public static final FileType TIFF
Tagged Image File Format (.tiff)
public static final FileType TSV
Tab Separated Values File (.tsv)
public static final FileType TXT
Plain Text File (.txt)
public static final FileType Unknown
Represents unknown file type.
public static final FileType VCF
vCard File (.vcf)
public static final FileType WEBP
WebP Image (.webp)
public static final FileType WMF
Windows Metafile (.wmf)
public static final FileType WPD
WordPerfect Document (.wpd)
public static final FileType XLS
Excel Spreadsheet (.xls)
public static final FileType XLSB
Excel Binary Spreadsheet (.xlsb)
public static final FileType XLSM
Excel Open XML Macro-Enabled Spreadsheet (.xlsm)
public static final FileType XLSX
Microsoft Excel Open XML Spreadsheet (.xlsx)
public final boolean equals(FileType other)
public boolean equals(Object obj)
Determines whether the current FileType
is the same as specified object.
public static FileType fromExtension(String extension)
Maps file extension to file type.
extension
- File extension (including the period ".").Unknown
file type.com.aspose.ms.System.ArgumentException
- Thrown when extension
is null or empty string.public final String getExtension()
Filename suffix (including the period ".") e.g. ".doc".
public final String getFileFormat()
File type name e.g. "Microsoft Word Document".
public static List<FileType> getSupportedFileTypes()
Retrieves supported file types
public static boolean op_Equality(FileType left, FileType right)
Determines whether two FileType
objects are the same.
public static boolean op_Inequality(FileType left, FileType right)
Determines whether two FileType
objects are not the same.