public class FileType extends Object
Learn more
Modifier and Type | Field and Description |
---|---|
static FileType |
ASF
The Advanced Systems Format (ASF) is a digital multimedia container designed primarily for storing and transmitting media streams.
|
static FileType |
AVI
The AVI file format is an Audio Video multimedia container file format that was introduced by Microsoft.
|
static FileType |
BMP
Files having extension .BMP represent Bitmap Image files that are used to store bitmap digital images.
|
static FileType |
CHM
The CHM file format represents Microsoft HTML help file that consists of a collection of HTML pages.
|
static FileType |
CSV
Files with CSV (Comma Separated Values) extension represent plain text files that contain records of data with comma separated values.
|
static FileType |
DC3
Represents DC3 file type.
|
static FileType |
DCM
Files with .DCM extension represent digital image which stores medical information of patients
such as MRIs, CT scans and ultrasound images.
|
static FileType |
DIC
Represents DIC file type.
|
static FileType |
DICOM
Represents DICOM file type.
|
static FileType |
DJV
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 |
DJVU
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
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 |
EMF
Enhanced metafile format (EMF) stores graphical images device-independently.
|
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 |
EPUB
Files with .EPUB extension are an e-book file format that provide a standard digital publication format for publishers and consumers.
|
static FileType |
FB2
Files with FB2 extension are FictionBook 2.0 eBook files that contains the structure of the eBook.
|
static FileType |
FLV
Represents FLV file type.
|
protected static FileType[] |
Formats |
static FileType |
GIF
A GIF or Graphical Interchange Format is a type of highly compressed image.
|
static FileType |
HTM
Files with HTM extension represent Hypertext Markup Language for creating web pages for display in web browsers.
|
static FileType |
HTML
HTML (Hyper Text Markup Language) is the extension for web pages created for display in web browsers.
|
static FileType |
JP2
JPEG 2000 (JP2) is an image coding system and state-of-the-art image compression standard.
|
static FileType |
JPE
A JPEG is a type of image format that is saved using the method of lossy compression.
|
static FileType |
JPEG
A JPEG is a type of image format that is saved using the method of lossy compression.
|
static FileType |
JPG
A JPEG is a type of image format that is saved using the method of lossy compression.
|
static FileType |
MD
Text files created with Markdown language dialects is saved with .MD or .MARKDOWN file extension.
|
static FileType |
MHT
Files with MHT extension represent a web page archive format that can be created by a number of different applications.
|
static FileType |
MHTML
Files with MHTML extension represent a web page archive format that can be created by a number of different applications.
|
static FileType |
MOV
MOV or QuickTime File format is multimedia container which is developed by Apple: contains one or more tracks,
each track holds a particular type of data i.e.
|
static FileType |
MP3
Files with MP3 extension are digitally encoded file formats for audio files that are formally based
on the MPEG-1 Audio Layer III or MPEG-2 Audio Layer III.
|
static FileType |
MPP
MPP is proprietary file format developed by Microsoft as file format for Microsoft Project (MSP) which is a project management application software.
|
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 |
ODP
Files with ODP extension represent presentation file format used by OpenOffice.org in the OASIS Open standard.
|
static FileType |
ODS
Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user.
|
static FileType |
ODT
ODT files are type of documents created with word processing applications that are based on OpenDocument
Text File format.
|
static FileType |
ONE
File represented by .ONE extension are created by Microsoft OneNote application.
|
static FileType |
OST
OST or Offline Storage Files represent user's mailbox data in offline mode on local machine upon
registration with Exchange Server using Microsoft Outlook.
|
static FileType |
OTS
Represents OpenDocument Spreadsheet Template file format.
|
static FileType |
OTT
Files with OTT extension represent template documents generated by applications in compliance with
the OASIS' OpenDocument standard format.
|
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 |
POT
Files with .POT extension represent Microsoft PowerPoint template files in binary format created by PowerPoint 97-2003 versions.
|
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 |
PSD
PSD, Photoshop Document, represents Adobe Photoshop's native file format used for graphics designing and development.
|
static FileType |
PST
Files with .PST extension represent Outlook Personal Storage Files (also called Personal Storage Table)
that store variety of user information.
|
static FileType |
QT
MOV or QuickTime File format is multimedia container which is developed by Apple: contains one or more tracks,
each track holds a particular type of data i.e.
|
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 |
TORRENT
Represents TORRENT file type.
|
static FileType |
TSV
A Tab-Separated Values (TSV) file format represents data separated with tabs in plain text format.
|
static FileType |
TXT
A file with .TXT extension represents a text document that contains plain text in the form of lines.
|
static FileType |
Unknown
Represents unknown file type.
|
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 |
VSS
VSS are stencil files created with Microsoft Visio 2007 and earlier.
|
static FileType |
WAV
WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft's Resource Interchange File Format (RIFF)
specification for storing digital audio files.
|
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 |
WMF
Files with WMF extension represent Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data.
|
static FileType |
XHTML
The XHTML is a text based file format with markup in the XML, using a reformulation of HTML 4.0.
|
static FileType |
XLA
Represents XLA file type.
|
static FileType |
XLAM
Represents XLAM file type.
|
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.
|
static FileType |
XML
XML stands for Extensible Markup Language that is similar to HTML but different in using tags for defining objects.
|
static FileType |
ZIP
ZIP file extension represents archives that can hold one or more files or directories.
|
Modifier | Constructor and Description |
---|---|
protected |
FileType(String description,
String extension,
FormatFamily formatFamily)
Initializes a new instance of the
FileType class. |
Modifier and Type | Method and Description |
---|---|
protected static FileType |
create(String description,
String extension,
FormatFamily formatFamily) |
String |
getDescription()
Gets the file type description.
|
String |
getExtension()
Gets the file extension.
|
FormatFamily |
getFormatFamily()
Gets the format family.
|
protected static int |
getIndex(FileType fileType) |
static Iterable<FileType> |
getSupportedFileTypes()
Retrieves supported file types.
|
String |
toString()
Returns a String that represents the current
FileType . |
protected static final FileType[] Formats
public static final FileType Unknown
Represents unknown file type.
public static final FileType FB2
Files with FB2 extension are FictionBook 2.0 eBook files that contains the structure of the eBook. It is based on XML format and contains special tags for describing each element of the book. Learn more about this file format here.
public static final FileType TXT
A file with .TXT extension represents a text document that contains plain text in the form of lines. Learn more about this file format here.
public static final FileType PPT
A file with PPT extension 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 here.
public static final FileType ODT
ODT files are type of documents created with word processing applications that are based on OpenDocument Text File format. These are created with word processor applications such as free OpenOffice Writer and can hold content such as text, images, objects and styles. Learn more about this file format here.
public static final FileType OTT
Files with OTT extension represent template documents generated by applications in compliance with the OASIS' OpenDocument standard format. These are created with word processor applications such as free OpenOffice Writer and can hold settings that can be used to generate new documents from these template files. Learn more about this file format here.
public static final 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. Learn more about this file format here.
public static final FileType POT
Files with .POT extension represent Microsoft PowerPoint template files in binary format created by PowerPoint 97-2003 versions. Learn more about this file format here.
public static final FileType PST
Files with .PST extension represent Outlook Personal Storage Files (also called Personal Storage Table) that store variety of user information. Learn more about this file format here.
public static final FileType OST
OST or Offline Storage Files represent user's mailbox data in offline mode on local machine upon registration with Exchange Server using Microsoft Outlook. Learn more about this file format here.
public static final FileType DOC
Files with .doc extension represent documents generated by Microsoft Word or other word processing documents in binary file format. Learn more about this file format here.
public static final FileType DOCX
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 here.
public static final FileType XLSX
XLSX is 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 here.
public static final FileType PPSX
PPSX, Power Point Slide Show, file are created using Microsoft PowerPoint 2007 and above for Slide Show purpose. Learn more about this file format here.
public static final FileType PPTX
Files with PPTX extension 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 here.
public static final FileType XLTX
Files with XLTX extension represent Microsoft Excel Template files that are based on the Office OpenXML file format specifications. Learn more about this file format here.
public static final FileType DOTX
Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. Learn more about this file format here.
public static final FileType POTX
Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above. Learn more about this file format here.
public static final FileType XLS
Files with XLS extension represent 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 here.
public static final 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. Learn more about this file format here.
public static final FileType ODS
Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user. Learn more about this file format here.
public static final FileType OTS
Represents OpenDocument Spreadsheet Template file format. Learn more about spreadsheet file formats here.
public static final FileType PPS
PPS, PowerPoint Slide Show, files 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 here.
public static final FileType PDF
Portable Document Format (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 here.
public static final 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. The format facilitates cross-platform document exchange with other Microsoft Products, thus serving the purpose of interoperability. Learn more about this file format here.
public static final FileType XLSM
Files with XLSM extension is a type of Spreasheet files that support Macros. Learn more about this file format here.
public static final FileType PPSM
Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher. Learn more about this file format here.
public static final FileType XLTM
The XLTM file extension represents files that are generated by Microsoft Excel as Macro-enabled template files. Learn more about this file format here.
public static final FileType DOTM
A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. Learn more about this file format here.
public static final FileType PPTM
Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. Learn more about this file format here.
public static final FileType DOCM
DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros. Learn more about this file format here.
public static final FileType XLSB
XLSB file format 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 here.
public static final FileType EPUB
Files with .EPUB extension are an e-book file format that provide a standard digital publication format for publishers and consumers. Learn more about this file format here.
public static final FileType ODP
Files with ODP extension represent presentation file format used by OpenOffice.org in the OASIS Open standard. Learn more about this file format here.
public static final FileType ONE
File represented by .ONE extension are created by Microsoft OneNote application. Learn more about this file format here.
public static final FileType ZIP
ZIP file extension represents archives that can hold one or more files or directories. Learn more about this file format here.
public static final FileType CHM
The CHM file format represents Microsoft HTML help file that consists of a collection of HTML pages. Learn more about this file format here.
public static final FileType EML
EML file format represents email messages saved using Outlook and other relevant applications. Learn more about this file format here.
public static final FileType EMLX
The EMLX file format is implemented and developed by Apple. The Apple Mail application uses the EMLX file format for exporting the emails. Learn more about this file format here.
public static final FileType MSG
MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. Learn more about this file format here.
public static final FileType MD
Text files created with Markdown language dialects is saved with .MD or .MARKDOWN file extension. Learn more about this file format here.
public static final FileType POTM
Files with POTM extension 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 here.
public static final FileType CSV
Files with CSV (Comma Separated Values) extension represent plain text files that contain records of data with comma separated values. Learn more about this file format here.
public static final FileType XML
XML stands for Extensible Markup Language that is similar to HTML but different in using tags for defining objects. Learn more about this file format here.
public static final FileType TSV
A Tab-Separated Values (TSV) file format represents data separated with tabs in plain text format. Learn more about this file format here.
public static final FileType HTM
Files with HTM extension represent Hypertext Markup Language for creating web pages for display in web browsers. Learn more about this file format here.
public static final FileType HTML
HTML (Hyper Text Markup Language) is the extension for web pages created for display in web browsers. Learn more about this file format here.
public static final FileType XHTML
The XHTML is a text based file format with markup in the XML, using a reformulation of HTML 4.0. Learn more about this file format here.
public static final FileType MHT
Files with MHT extension represent a web page archive format that can be created by a number of different applications. Learn more about this file format here.
public static final FileType MHTML
Files with MHTML extension represent a web page archive format that can be created by a number of different applications. Learn more about this file format here.
public static final FileType MP3
Files with MP3 extension are digitally encoded file formats for audio files that are formally based on the MPEG-1 Audio Layer III or MPEG-2 Audio Layer III. Learn more about this file format here.
public static final FileType WAV
WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft's Resource Interchange File Format (RIFF) specification for storing digital audio files. Learn more about this file format here.
public static final FileType BMP
Files having extension .BMP represent Bitmap Image files that are 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 here.
public static final FileType DJVU
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 here.
public static final FileType DJV
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 here.
public static final FileType GIF
A GIF or Graphical Interchange Format is a type of highly compressed image. Learn more about this file format here.
public static final FileType JPG
A JPEG is a type of image format that is saved using the method of lossy compression. Learn more about this file format here.
public static final FileType JPE
A JPEG is a type of image format that is saved using the method of lossy compression. Learn more about this file format here.
public static final FileType JPEG
A JPEG is a type of image format that is saved using the method of lossy compression. Learn more about this file format here.
public static final FileType JP2
JPEG 2000 (JP2) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format here.
public static final FileType PNG
PNG, Portable Network Graphics, refers to a type of raster image file format that use loseless compression. Learn more about this file format here.
public static final 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. Learn more about this file format here.
public static final 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. Learn more about this file format here.
public static final FileType WEBP
WebP, introduced by Google, 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 here.
public static final FileType EMF
Enhanced metafile format (EMF) stores graphical images device-independently. Learn more about this file format here.
public static final FileType WMF
Files with WMF extension represent Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data. Learn more about this file format here.
public static final FileType PSD
PSD, Photoshop Document, represents Adobe Photoshop's native file format used for graphics designing and development. Learn more about this file format here.
public static final FileType MPP
MPP is proprietary file format developed by Microsoft as file format for Microsoft Project (MSP) which is a project management application software. Learn more about this file format here.
public static final FileType TORRENT
Represents TORRENT file type.
public static final FileType VSD
VSD files are drawings created with Microsoft Visio application to represent variety of graphical objects and the interconnection between these. Learn more about this file format here.
public static final FileType VSS
VSS are stencil files created with Microsoft Visio 2007 and earlier. Stencil files provide drawing objects that can be included in a .VSD Visio drawing. Learn more about this file format here.
public static final FileType DCM
Files with .DCM extension represent digital image which stores medical information of patients such as MRIs, CT scans and ultrasound images. Learn more about this file format here.
public static final FileType DC3
Represents DC3 file type.
public static final FileType DIC
Represents DIC file type.
public static final FileType DICOM
Represents DICOM file type.
public static final FileType AVI
The AVI file format is an Audio Video multimedia container file format that was introduced by Microsoft. Learn more about this file format here.
public static final FileType MOV
MOV or QuickTime File format is multimedia container which is developed by Apple: contains one or more tracks, each track holds a particular type of data i.e. Video, Audio, text etc. Learn more about this file format here.
public static final FileType QT
MOV or QuickTime File format is multimedia container which is developed by Apple: contains one or more tracks, each track holds a particular type of data i.e. Video, Audio, text etc. Learn more about this file format here.
public static final FileType FLV
Represents FLV file type.
public static final FileType ASF
The Advanced Systems Format (ASF) is a digital multimedia container designed primarily for storing and transmitting media streams. Microsoft Windows Media Video (WMV) is the compressed video format and Microsoft Windows Media Audio (WMA) is the compressed audio format along with additional metadata in the ASF container developed by Microsoft. Learn more about this file format here.
public static final FileType XLA
Represents XLA file type.
public static final FileType XLAM
Represents XLAM file type.
protected FileType(String description, String extension, FormatFamily formatFamily)
Initializes a new instance of the FileType
class.
description
- The file type description.extension
- The file extension.formatFamily
- The format family.protected static FileType create(String description, String extension, FormatFamily formatFamily)
public final String getDescription()
Gets the file type description.
public final String getExtension()
Gets the file extension.
public final FormatFamily getFormatFamily()
Gets the format family.
public String toString()
Returns a String that represents the current FileType
.
protected static int getIndex(FileType fileType)