public final class FileType extends Object
Represents file type.
Modifier and Type | Field and Description |
---|---|
static FileType |
BMP
Bitmap Image File (.bmp) is used to store bitmap digital images.
|
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) is a free, platform-independent, international standard metafile format for storing and exchanging of vector graphics (2D), raster graphics, and text.
|
static FileType |
CMX
CorelDRAW Metafile Exchange Image File (.cmx)
|
static FileType |
CSV
Comma Separated Values File (.csv) represents plain text files that contain records of data with comma separated values.
|
static FileType |
DCM
DICOM Image (.dcm) represents digital image which stores medical information of patients such as MRIs, CT scans and ultrasound images.
|
static FileType |
DJVU
DjVu Image (.djvu) is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs.
|
static FileType |
DOC
Microsoft Word Document (.doc) represents documents generated by Microsoft Word or other word processing documents in binary file format.
|
static FileType |
DOCM
Word Open XML Macro-Enabled Document (.docm) is a Microsoft Word 2007 or higher generated documents with the ability to run macros.
|
static FileType |
DOCX
Microsoft Word Open XML Document (.docx) is a well-known format for Microsoft Word documents.
|
static FileType |
DOT
Word Document Template (.dot) are template files created by Microsoft Word to have preformatted settings for generation of further DOC or DOCX files.
|
static FileType |
DOTM
Word Open XML Macro-Enabled Document Template (.dotm) represents template file created with Microsoft Word 2007 or higher.
|
static FileType |
DOTX
Word Open XML Document Template (.dotx) are template files created by Microsoft Word to have preformatted settings for generation of further DOCX files.
|
static FileType |
EMF
Enhanced Windows Metafile (.emf) represents graphical images device-independently.
|
static FileType |
EPS
Encapsulated PostScript File (.eps) describes an Encapsulated PostScript language program that describes the appearance of a single page.
|
static FileType |
GIF
Graphical Interchange Format File (.gif) is a type of highly compressed image.
|
static FileType |
JPEG
JPEG Image (.jpeg) is a type of image format that is saved using the method of lossy compression.
|
static FileType |
JPG
JPEG Image (.jpg) is a type of image format that is saved using the method of lossy compression.
|
static FileType |
ODG
OpenDocument Graphic File (.odg) is used by Apache OpenOffice's Draw application to store drawing elements as a vector image.
|
static FileType |
ODP
OpenDocument Presentation (.odp) represents presentation file format used by OpenOffice.org in the OASISOpen standard.
|
static FileType |
ODS
OpenDocument Spreadsheet (.ods) stands for OpenDocument Spreadsheet Document format that are editable by user.
|
static FileType |
ODT
OpenDocument Text Document (.odt) are type of documents created with word processing applications that are based on OpenDocument Text File format.
|
static FileType |
OTP
OpenDocument Presentation Template (.otp) represents presentation template files created by applications in OASIS OpenDocument standard format.
|
static FileType |
OTS
OpenDocument Spreadsheet Template (.ots)
|
static FileType |
OTT
OpenDocument Document Template (.ott) represents template documents generated by applications in compliance with the OASIS' OpenDocument standard format.
|
static FileType |
PCL
Printer Command Language Document (.pcl)
|
static FileType |
PDF
Portable Document Format File (.pdf) is a type of document created by Adobe back in 1990s.
|
static FileType |
PNG
Portable Network Graphic (.png) is a type of raster image file format that use lossless compression.
|
static FileType |
POT
PowerPoint Template (.pot) represents Microsoft PowerPoint template files created by PowerPoint 97-2003 versions.
|
static FileType |
POTM
PowerPoint Open XML Macro-Enabled Presentation Template (.potm) are Microsoft PowerPoint template files with support for Macros.
|
static FileType |
POTX
PowerPoint Open XML Presentation Template (.potx) represents Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above.
|
static FileType |
PPS
PowerPoint Slide Show (.pps) are created using Microsoft PowerPoint for Slide Show purpose.
|
static FileType |
PPSM
PowerPoint Open XML Macro-Enabled Slide (.ppsm) represents Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher.
|
static FileType |
PPSX
PowerPoint Open XML Slide Show (.ppsx) files are created using Microsoft PowerPoint 2007 and above for Slide Show purpose.
|
static FileType |
PPT
PowerPoint Presentation (.ppt) represents PowerPoint file that consists of a collection of slides for displaying as SlideShow.
|
static FileType |
PPTM
PowerPoint Open XML Macro-Enabled Presentation are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions.
|
static FileType |
PPTX
PowerPoint Open XML Presentation (.pptx) are presentation files created with popular Microsoft PowerPoint application.
|
static FileType |
PS
PostScript File (.ps)
|
static FileType |
PSD
Adobe Photoshop Document (.psd) represents Adobe Photoshop's native file format used for graphics designing and development.
|
static FileType |
RTF
Rich Text Format File (.rtf) represents a method of encoding formatted text and graphics for use within applications.
|
static FileType |
SVG
Scalable Vector Graphics File (.svg) is a Scalar Vector Graphics file that uses XML based text format for describing the appearance of an image.
|
static FileType |
TIF
Tagged Image File (.tif) represents raster images that are meant for usage on a variety of devices that comply with this file format standard.
|
static FileType |
TIFF
Tagged Image File Format (.tiff) represents raster images that are meant for usage on a variety of devices that comply with this file format standard.
|
static FileType |
TSV
Tab Separated Values File (.tsv) represents data separated with tabs in plain text format.
|
static FileType |
TXT
Plain Text File (.txt) represents a text document that contains plain text in the form of lines.
|
static FileType |
Unknown
Represents unknown file type.
|
static FileType |
VCF
vCard File (.vcf) is a digital file format for storing contact information.
|
static FileType |
WEBP
WebP Image (.webp) is a modern raster web image file format that is based on lossless and lossy compression.
|
static FileType |
WMF
Windows Metafile (.wmf) represents Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data.
|
static FileType |
WPD
WordPerfect Document (.wpd)
|
static FileType |
XLS
Excel Spreadsheet (.xls) represents Excel Binary File Format.
|
static FileType |
XLSB
Excel Binary Spreadsheet (.xlsb) specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content.
|
static FileType |
XLSM
Excel Open XML Macro-Enabled Spreadsheet (.xlsm) is a type of Spreadsheet files that support macros.
|
static FileType |
XLSX
Microsoft Excel Open XML Spreadsheet (.xlsx) is a well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007.
|
static FileType |
XLT
Excel binary Template (.xlt) represents Excel Template File Format.
|
static FileType |
XLTM
Excel Office OpenXML file Template (.xltm) represents Excel Template File Format.
|
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) is used to store bitmap digital images. These images are independent of graphics adapter and are also called device independent bitmap (DIB) file format.
Learn more about this file format <a href="https://wiki.fileformat.com/image/bmp">here</a>
.
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 <a href="https://wiki.fileformat.com/image/cdr">here</a>
.
public static final FileType CGM
Computer Graphics Metafile (.cgm) is a free, platform-independent, international standard metafile format for storing and exchanging of vector graphics (2D), raster graphics, and text. CGM uses object-oriented approach and many function provisions for image production.
Learn more about this file format <a href="https://wiki.fileformat.com/page-description-language/cgm">here</a>
.
public static final FileType CMX
CorelDRAW Metafile Exchange Image File (.cmx)
public static final FileType CSV
Comma Separated Values File (.csv) represents plain text files that contain records of data with comma separated values.
Learn more about this file format <a href="https://wiki.fileformat.com/spreadsheet/csv">here</a>
.
public static final FileType DCM
DICOM Image (.dcm) represents digital image which stores medical information of patients such as MRIs, CT scans and ultrasound images.
Learn more about this file format <a href="https://wiki.fileformat.com/image/dcm">here</a>
.
public static final FileType DJVU
DjVu Image (.djvu) is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs.
Learn more about this file format <a href="https://wiki.fileformat.com/image/djvu">here</a>
.
public static final FileType DOC
Microsoft Word Document (.doc) represents documents generated by Microsoft Word or other word processing documents in binary file format.
Learn more about this file format <a href="https://wiki.fileformat.com/word-processing/doc">here</a>
.
public static final FileType DOCM
Word Open XML Macro-Enabled Document (.docm) is a Microsoft Word 2007 or higher generated documents with the ability to run macros.
Learn more about this file format <a href="https://wiki.fileformat.com/word-processing/docm">here</a>
.
public static final FileType DOCX
Microsoft Word Open XML Document (.docx) is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files.
Learn more about this file format <a href="https://wiki.fileformat.com/word-processing/docx">here</a>
.
public static final FileType DOT
Word Document Template (.dot) are template files created by Microsoft Word to have preformatted settings for generation of further DOC or DOCX files.
Learn more about this file format <a href="https://wiki.fileformat.com/word-processing/dot">here</a>
.
public static final FileType DOTM
Word Open XML Macro-Enabled Document Template (.dotm) represents template file created with Microsoft Word 2007 or higher.
Learn more about this file format <a href="https://wiki.fileformat.com/word-processing/dotm">here</a>
.
public static final FileType DOTX
Word Open XML Document Template (.dotx) are template files created by Microsoft Word to have preformatted settings for generation of further DOCX files.
Learn more about this file format <a href="https://wiki.fileformat.com/word-processing/dotx">here</a>
.
public static final FileType EMF
Enhanced Windows Metafile (.emf) represents graphical images device-independently. Meta-files of EMF comprises of variable-length records in chronological order that can render the stored image after parsing on any output device.
Learn more about this file format <a href="https://wiki.fileformat.com/image/emf">here</a>
.
public static final FileType EPS
Encapsulated PostScript File (.eps) describes an Encapsulated PostScript language program that describes the appearance of a single page.
Learn more about this file format <a href="https://wiki.fileformat.com/page-description-language/eps">here</a>
.
public static final FileType GIF
Graphical Interchange Format File (.gif) is a type of highly compressed image. For each image GIF typically allow up to 8 bits per pixel and up to 256 colours are allowed across the image.
Learn more about this file format <a href="https://wiki.fileformat.com/image/gif">here</a>
.
public static final FileType JPEG
JPEG Image (.jpeg) is a type of image format that is saved using the method of lossy compression. The output image, as result of compression, is a trade-off between storage size and image quality.
Learn more about this file format <a href="https://wiki.fileformat.com/image/jpeg">here</a>
.
public static final FileType JPG
JPEG Image (.jpg) is a type of image format that is saved using the method of lossy compression. The output image, as result of compression, is a trade-off between storage size and image quality.
Learn more about this file format <a href="https://wiki.fileformat.com/image/jpeg">here</a>
.
public static final FileType ODG
OpenDocument Graphic File (.odg) is used by Apache OpenOffice's Draw application to store drawing elements as a vector image.
Learn more about this file format <a href="https://wiki.fileformat.com/image/odg">here</a>
.
public static final FileType ODP
OpenDocument Presentation (.odp) represents presentation file format used by OpenOffice.org in the OASISOpen standard.
Learn more about this file format <a href="https://wiki.fileformat.com/presentation/odp">here</a>
.
public static final FileType ODS
OpenDocument Spreadsheet (.ods) stands for OpenDocument Spreadsheet Document format that are editable by user. Data is stored inside ODF file into rows and columns.
Learn more about this file format <a href="https://wiki.fileformat.com/spreadsheet/ods">here</a>
.
public static final FileType ODT
OpenDocument Text Document (.odt) are type of documents created with word processing applications that are based on OpenDocument Text File format.
Learn more about this file format <a href="https://wiki.fileformat.com/word-processing/odt">here</a>
.
public static final FileType OTP
OpenDocument Presentation Template (.otp) represents presentation template files created by applications in OASIS OpenDocument standard format.
Learn more about this file format <a href="https://wiki.fileformat.com/presentation/otp">here</a>
.
public static final FileType OTS
OpenDocument Spreadsheet Template (.ots)
public static final FileType OTT
OpenDocument Document Template (.ott) represents template documents generated by applications in compliance with the OASIS' OpenDocument standard format.
Learn more about this file format <a href="https://wiki.fileformat.com/word-processing/ott">here</a>
.
public static final FileType PCL
Printer Command Language Document (.pcl)
public static final FileType PDF
Portable Document Format File (.pdf) is a type of document created by Adobe back in 1990s. The purpose of this file format was to introduce a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System.
Learn more about this file format <a href="https://wiki.fileformat.com/view/pdf">here</a>
.
public static final FileType PNG
Portable Network Graphic (.png) is a type of raster image file format that use lossless compression. This file format was created as a replacement of Graphics Interchange Format (GIF) and has no copyright limitations.
Learn more about this file format <a href="https://wiki.fileformat.com/image/png">here</a>
.
public static final FileType POT
PowerPoint Template (.pot) represents Microsoft PowerPoint template files created by PowerPoint 97-2003 versions.
Learn more about this file format <a href="https://wiki.fileformat.com/presentation/pot">here</a>
.
public static final FileType POTM
PowerPoint Open XML Macro-Enabled Presentation Template (.potm) are Microsoft PowerPoint template files with support for Macros. POTM files are created with PowerPoint 2007 or above and contains default settings that can be used to create further presentation files.
Learn more about this file format <a href="https://wiki.fileformat.com/presentation/potm">here</a>
.
public static final FileType POTX
PowerPoint Open XML Presentation Template (.potx) represents Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above.
Learn more about this file format <a href="https://wiki.fileformat.com/presentation/potx">here</a>
.
public static final FileType PPS
PowerPoint Slide Show (.pps) are created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003.
Learn more about this file format <a href="https://wiki.fileformat.com/presentation/pps">here</a>
.
public static final FileType PPSM
PowerPoint Open XML Macro-Enabled Slide (.ppsm) represents Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher.
Learn more about this file format <a href="https://wiki.fileformat.com/presentation/ppsm">here</a>
.
public static final FileType PPSX
PowerPoint Open XML Slide Show (.ppsx) files are created using Microsoft PowerPoint 2007 and above for Slide Show purpose.
Learn more about this file format <a href="https://wiki.fileformat.com/presentation/ppsx">here</a>
.
public static final FileType PPT
PowerPoint Presentation (.ppt) represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003.
Learn more about this file format <a href="https://wiki.fileformat.com/presentation/ppt">here</a>
.
public static final FileType PPTM
PowerPoint Open XML Macro-Enabled Presentation are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions.
Learn more about this file format <a href="https://wiki.fileformat.com/presentation/pptm">here</a>
.
public static final FileType PPTX
PowerPoint Open XML Presentation (.pptx) are presentation files created with popular Microsoft PowerPoint application. Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format.
Learn more about this file format <a href="https://wiki.fileformat.com/presentation/pptx">here</a>
.
public static final FileType PS
PostScript File (.ps)
public static final FileType PSD
Adobe Photoshop Document (.psd) represents Adobe Photoshop's native file format used for graphics designing and development.
Learn more about this file format <a href="https://wiki.fileformat.com/image/psd">here</a>
.
public static final FileType RTF
Rich Text Format File (.rtf) represents a method of encoding formatted text and graphics for use within applications.
Learn more about this file format <a href="https://wiki.fileformat.com/word-processing/rtf">here</a>
.
public static final FileType SVG
Scalable Vector Graphics File (.svg) is a Scalar Vector Graphics file that uses XML based text format for describing the appearance of an image.
Learn more about this file format <a href="https://wiki.fileformat.com/page-description-language/svg">here</a>
.
public static final FileType TIF
Tagged Image File (.tif) represents raster images that are meant for usage on a variety of devices that comply with this file format standard. It is capable of describing bilevel, grayscale, palette-color and full-color image data in several color spaces.
Learn more about this file format <a href="https://wiki.fileformat.com/image/tiff">here</a>
.
public static final FileType TIFF
Tagged Image File Format (.tiff) represents raster images that are meant for usage on a variety of devices that comply with this file format standard. It is capable of describing bilevel, grayscale, palette-color and full-color image data in several color spaces.
Learn more about this file format <a href="https://wiki.fileformat.com/image/tiff">here</a>
.
public static final FileType TSV
Tab Separated Values File (.tsv) represents data separated with tabs in plain text format.
Learn more about this file format <a href="https://wiki.fileformat.com/spreadsheet/tsv">here</a>
.
public static final FileType TXT
Plain Text File (.txt) represents a text document that contains plain text in the form of lines.
Learn more about this file format <a href="https://wiki.fileformat.com/word-processing/txt">here</a>
.
public static final FileType Unknown
Represents unknown file type.
public static final FileType VCF
vCard File (.vcf) is a digital file format for storing contact information. The format is widely used for data interchange among popular information exchange applications.
Learn more about this file format <a href="https://wiki.fileformat.com/email/vcf">here</a>
.
public static final FileType WEBP
WebP Image (.webp) is a modern raster web image file format that is based on lossless and lossy compression. It provides same image quality while considerably reducing the image size.
Learn more about this file format <a href="https://wiki.fileformat.com/image/webp">here</a>
.
public static final FileType WMF
Windows Metafile (.wmf) represents Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data.
Learn more about this file format <a href="https://wiki.fileformat.com/image/wmf">here</a>
.
public static final FileType WPD
WordPerfect Document (.wpd)
public static final FileType XLS
Excel Spreadsheet (.xls) represents Excel Binary File Format. Such files can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers.
Learn more about this file format <a href="https://wiki.fileformat.com/spreadsheet/xls">here</a>
.
public static final FileType XLSB
Excel Binary Spreadsheet (.xlsb) specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content.
Learn more about this file format <a href="https://wiki.fileformat.com/spreadsheet/xlsb">here</a>
.
public static final FileType XLSM
Excel Open XML Macro-Enabled Spreadsheet (.xlsm) is a type of Spreadsheet files that support macros.
Learn more about this file format <a href="https://wiki.fileformat.com/spreadsheet/xlsm">here</a>
.
public static final FileType XLSX
Microsoft Excel Open XML Spreadsheet (.xlsx) is a well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007.
Learn more about this file format <a href="https://wiki.fileformat.com/spreadsheet/xlsx">here</a>
.
public static final FileType XLT
Excel binary Template (.xlt) represents Excel Template File Format.
Learn more about this file format <a href="https://wiki.fileformat.com/spreadsheet/xlt">here</a>
.
public static final FileType XLTM
Excel Office OpenXML file Template (.xltm) represents Excel Template File Format.
Learn more about this file format <a href="https://wiki.fileformat.com/spreadsheet/xltm">here</a>
.
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.