public class FileType extends Object
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 |
CGM
Computer Graphics Metafile (CGM) is free, platform-independent, international standard metafile
format for storing and exchanging of vector graphics (2D), raster graphics, and text.
|
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 |
DCM
Files with .DCM extension represent digital image which stores medical
information of patients such as MRIs, CT scans and ultrasound images.
|
static FileType |
DIB
A DIB (Device Independent Bitmap) file is a raster image file that is similar in structure
to the standard Bitmap files (BMP) but has a different header.
|
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 |
EPS
Files with EPS extension essentially describe an Encapsulated PostScript language program
that describes the appearance of a single page.
|
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 |
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 such as Google Chrome, Internet Explorer, Firefox and a number of others.
|
static FileType |
HTML
HTML (Hyper Text Markup Language) is the extension for web pages created for display in browsers.
|
static FileType |
ICO
Files with ICO extension are image file types used as icon for representation of an application on Microsoft Windows.
|
static FileType |
J2C
JPEG 2000 (J2C) is an image coding system and state-of-the-art image compression standard.
|
static FileType |
J2K
JPEG 2000 (J2K) is an image coding system and state-of-the-art image compression standard.
|
static FileType |
JP2
JPEG 2000 (JP2) is an image coding system and state-of-the-art image compression standard.
|
static FileType |
JPC
JPEG 2000 (JPC) is an image coding system and state-of-the-art image compression standard.
|
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 JPG 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 |
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 |
MSG
MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact,
appointment, or other tasks.
|
static FileType |
NUMBERS
Files that contain the .numbers file extension are files that are created by
the Apple iWork Numbers spreadsheet application.
|
static FileType |
ODG
The ODG file format is used by Apache OpenOffice's Draw application to store
drawing elements as a vector image.
|
static FileType |
ODP
Files with ODP extension represent presentation file format used by OpenOffice.org
in the OASISOpen 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 |
OTP
Files with .OTP extension represent presentation template files created by applications
in OASIS OpenDocument standard format.
|
static FileType |
OTS
The OTS files contain template files used by the OpenOffice spreadsheet application.
|
static FileType |
OTT
Files with OTT extension represent template documents generated by applications in compliance with
the OASIS' OpenDocument standard format.
|
static FileType |
PCL
PCL stands for Printer Command Language which is a Page Description Language
introduced by Hewlett Packard (HP).
|
static FileType |
PDF
Portable Document Format (PDF) is a type of document created by Adobe back in 1990s.
|
static FileType |
PICT
The PICT file format is a meta-format that can be used for both bitmap images and vector images.
|
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 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 |
PS
PostScript (PS) is a general-purpose page description language used
in the business of desktop and electronic publishing.
|
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 |
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 |
SVG
An SVG file is a Scalar Vector Graphics file that uses XML based text format
for describing the appearance of an image.
|
static FileType |
TEXT
A file with .TEXT extension represents a text document that contains plain text in the form of lines.
|
static FileType |
TIF
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, 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 |
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 |
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
The Excel 97-2003 Add-In, a supplemental program that is designed to run additional code.
|
static FileType |
XLAM
The XML-based and macro-enabled Add-In format for Excel 2010 and Excel 2007.
|
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 and Type | Method and Description |
---|---|
boolean |
equals(Object 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.
|
FileFormat |
getFormat()
File format e.g.
|
static Iterable<FileType> |
getSupportedFileTypes()
Retrieves supported file types
|
String |
toString() |
public static final FileType Unknown
public static final FileType DOC
public static final FileType DOT
public static final FileType DOCX
public static final FileType DOCM
public static final FileType DOTX
public static final FileType DOTM
public static final FileType TXT
public static final FileType TEXT
public static final FileType ODT
public static final FileType OTT
public static final FileType RTF
public static final FileType PDF
public static final FileType HTM
public static final FileType HTML
public static final FileType XHTML
public static final FileType MHT
public static final FileType MHTML
public static final FileType XML
public static final FileType MD
public static final FileType FB2
public static final FileType CHM
public static final FileType EPUB
public static final FileType XLS
public static final FileType XLSX
public static final FileType XLSM
public static final FileType XLSB
public static final FileType XLT
public static final FileType XLTX
public static final FileType XLTM
public static final FileType XLA
public static final FileType XLAM
public static final FileType CSV
public static final FileType TSV
public static final FileType ODS
public static final FileType OTS
public static final FileType NUMBERS
public static final FileType PPT
public static final FileType PPTX
public static final FileType PPS
public static final FileType PPSX
public static final FileType ODP
public static final FileType POT
public static final FileType PPTM
public static final FileType POTX
public static final FileType POTM
public static final FileType PPSM
public static final FileType OTP
public static final FileType MSG
public static final FileType EML
public static final FileType EMLX
public static final FileType PST
public static final FileType OST
public static final FileType ONE
public static final FileType ZIP
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 ICO
public static final FileType JP2
public static final FileType JPF
public static final FileType JPX
public static final FileType JPM
public static final FileType J2C
public static final FileType J2K
public static final FileType JPC
public static final FileType DIB
public static final FileType WMF
public static final FileType EMF
public static final FileType WEBP
public static final FileType DJVU
public static final FileType CGM
public static final FileType PCL
public static final FileType PSD
public static final FileType DCM
public static final FileType PS
public static final FileType EPS
public static final FileType ODG
public static final FileType SVG
public static final FileType PICT
public String getFileFormat()
public String getExtension()
public FileFormat getFormat()
FileFormat
enum that represents the format of the file.public static FileType fromExtension(String extension)
extension
- File extension (including the period ".").Unknown
file type.