FileType
Inheritance: java.lang.Object
public class FileType
Represents the file type.
Learn more
Fields
Field | Description |
---|---|
Unknown | Represents unknown file type. |
TORRENT | Represents TORRENT file type. |
Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. | |
PPT | A file with PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. |
PPTX | Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application. |
POTX | Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above. |
PPTM | Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. |
POTM | Files with POTM extension are Microsoft PowerPoint template files with support for Macros. |
PPS | PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose. |
PPSX | PPSX, Power Point Slide Show, file are created using Microsoft PowerPoint 2007 and above for Slide Show purpose. |
PPSM | Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher. |
POT | Files with .POT extension represent Microsoft PowerPoint template files in binary format created by PowerPoint 97-2003 versions. |
XLS | Files with XLS extension represent Excel Binary File Format. |
XLSX | XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. |
XLSM | Files with XLSM extension is a type of Spreasheet files that support Macros. |
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. |
ODT | ODT files are type of documents created with word processing applications that are based on OpenDocument Text File format. |
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. |
DOC | Files with .doc extension represent documents generated by Microsoft Word or other word processing documents in binary file format. |
DOCX | DOCX is a well-known format for Microsoft Word documents. |
XLTX | Files with XLTX extension represent Microsoft Excel Template files that are based on the Office OpenXML file format specifications. |
DOTX | Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. |
ODS | Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user. |
XLTM | The XLTM file extension represents files that are generated by Microsoft Excel as Macro-enabled template files. |
XLSB | XLSB file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. |
DOTM | A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. |
DOCM | DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros. |
EPUB | Files with .EPUB extension are an e-book file format that provide a standard digital publication format for publishers and consumers. |
TTF | TTF represents font files based on the TrueType specifications font technology. |
TTC | TTC (TrueType Collection) is a TrueType font collection format. |
OTF | A file with .otf extension refers to OpenType font format. |
OTC | OTC (OpenType Collection) is a OpenType font collection format. |
ONE | File represented by .ONE extension are created by Microsoft OneNote application. |
ZIP | ZIP file extension represents archives that can hold one or more files or directories. |
ZIPX | ZIPX is a Zip file in which WinZip has used one or more of its available advanced compression methods. |
JAR | JAR is a Java Archive file that contains many different application related files as a single file. |
VCF | VCF (Virtual Card Format) or vCard is a digital file format for storing contact information. |
VCR | VCR (Virtual Card Format) or vCard is a digital file format for storing contact information. |
EML | EML file format represents email messages saved using Outlook and other relevant applications. |
MSG | MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. |
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. |
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. |
BMP | Files having extension .BMP represent Bitmap Image files that are used to store bitmap digital images. |
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. |
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. |
GIF | A GIF or Graphical Interchange Format is a type of highly compressed image. |
JPG | A JPEG is a type of image format that is saved using the method of lossy compression. |
JPE | A JPEG is a type of image format that is saved using the method of lossy compression. |
JPEG | A JPEG is a type of image format that is saved using the method of lossy compression. |
JP2 | JPEG 2000 (JP2) is an image coding system and state-of-the-art image compression standard. |
J2K | JPEG 2000 (J2K) is an image coding system and state-of-the-art image compression standard. |
JPF | JPEG 2000 (JPF) is an image coding system and state-of-the-art image compression standard. |
JPX | JPEG 2000 (JPX) is an image coding system and state-of-the-art image compression standard. |
JPM | JPEG 2000 (JPM) is an image coding system and state-of-the-art image compression standard. |
MJ2 | Video format defined as Motion JPEG 2000 (Part 3); contains a motion sequence of JPEG 2000 images; does not involve inter-frame coding, but instead encodes each frame independently using JPEG 2000 compression. |
PNG | PNG, Portable Network Graphics, refers to a type of raster image file format that use loseless compression. |
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. |
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. |
WEBP | WebP, introduced by Google, is a modern raster web image file format that is based on lossless and lossy compression. |
EMF | Enhanced metafile format (EMF) stores graphical images device-independently. |
WMF | Files with WMF extension represent Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data. |
PSD | PSD, Photoshop Document, represents Adobe Photoshop’s native file format used for graphics designing and development. |
MPP | MPP is proprietary file format developed by Microsoft as file format for Microsoft Project (MSP) which is a project management application software. |
MPT | MPT is proprietary file format developed by Microsoft as file format for Microsoft Project (MSP) which is a project management application software. |
VSD | VSD files are drawings created with Microsoft Visio application to represent variety of graphical objects and the interconnection between these. |
VDX | Any drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. |
VSDX | Files with .VSDX extension represent Microsoft Visio file format introduced from Microsoft Office 2013 onwards. |
VSS | VSS are stencil files created with Microsoft Visio 2007 and earlier. |
VSX | Files with .VSX extension refer to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. |
VTX | Files with .VTX extension refer to Microsoft Visio drawing template that is saved to disc in XML file format. |
DICOM | DICOM is the acronym for Digital Imaging and Communications in Medicine and pertains to the field of Medical Informatics. |
HEIF | An HEIF file is a High-Efficiency Container Image file format that is capable of storing a single image or a sequence of images in a single file. |
HEIC | An HEIC file is a High-Efficiency Container Image file format that can store multiple images as a collection in a single file. |
DWG | Files with DWG extension represent proprietary binary files used for containing 2D and 3D design data. |
DXF | DXF, Drawing Interchange Format, or Drawing Exchange Format, is a tagged data representation of AutoCAD drawing file. |
AVI | The AVI file format is an Audio Video multimedia container file format that was introduced by Microsoft. |
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. |
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. |
MKA | MKA (Matroska Audio) is the Matroska multimedia container format used for Audio. |
MKV | MKV (Matroska Video) is a multimedia container similar to MOV and AVI format but it supports more than one audio and subtitle track in the same file. |
MK3D | MK3D is actually stereoscopic 3D video created using Matroska 3D format. |
WEBM | WEBM is a video file based on the open, royalty-free WebM file format. |
FLV | FLV (Flash Video) is a container file format which is used to deliver audio/video content over the internet by using the Adobe Flash Player or Adobe Air. |
ASF | The Advanced Systems Format (ASF) is a digital multimedia container designed primarily for storing and transmitting media streams. |
DNG | DNG is a digital camera image format used for the storage of raw files. |
CR2 | The .CR2 file format (Canon RAW version 2) is a digital photography RAW format created by Canon. |
SEVENZIP | 7z is a compressed archive file format that supports several different data compression, encryption and pre-processing algorithms. |
RAR | RAR is a proprietary archive file format that supports data compression, error correction and file spanning. |
TAR | In computing, tar is a computer software utility for collecting many files into one archive file, often referred to as a tarball, for distribution or backup purposes. |
Methods
Method | Description |
---|---|
getDescription() | Gets the file type description. |
getExtension() | Gets the file extension. |
getFileFormat() | Gets the file format. |
toString() | Returns a String that represents the current FileType . |
getSupportedFileTypes() | Retrieves supported file types. |
fromExtension(String fileExtension) | Gets FileType for provided fileExtension |
Unknown
public static final FileType Unknown
Represents unknown file type.
TORRENT
public static final FileType TORRENT
Represents TORRENT file type.
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.
PPT
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.
PPTX
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.
POTX
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.
PPTM
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.
POTM
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.
PPS
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.
PPSX
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.
PPSM
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.
POT
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.
XLS
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.
XLSX
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.
XLSM
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.
XLT
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.
ODT
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.
DOT
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.
DOC
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.
DOCX
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.
XLTX
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.
DOTX
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.
ODS
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.
XLTM
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.
XLSB
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.
DOTM
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.
DOCM
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.
EPUB
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.
TTF
public static final FileType TTF
TTF represents font files based on the TrueType specifications font technology. TrueType fonts provide highest quality display on computer screens and printers without any dependency on resolution. Learn more about this file format here.
TTC
public static final FileType TTC
TTC (TrueType Collection) is a TrueType font collection format. A TTC file can combine the multiple font files into it. Learn more about this file format here.
OTF
public static final FileType OTF
A file with .otf extension refers to OpenType font format. OTF font format is more scalable and extends the existing features of TTF formats for digital typography. Learn more about this file format here.
OTC
public static final FileType OTC
OTC (OpenType Collection) is a OpenType font collection format. An OTC file can combine the multiple font files into it.
ONE
public static final FileType ONE
File represented by .ONE extension are created by Microsoft OneNote application. Learn more about this file format here.
ZIP
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.
ZIPX
public static final FileType ZIPX
ZIPX is a Zip file in which WinZip has used one or more of its available advanced compression methods.
JAR
public static final FileType JAR
JAR is a Java Archive file that contains many different application related files as a single file. This file format was created to reduce the speed of loading a downloaded Java Applet in browser via HTTP transaction, Learn more about this file format here.
VCF
public static final FileType VCF
VCF (Virtual Card Format) or vCard 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 here.
VCR
public static final FileType VCR
VCR (Virtual Card Format) or vCard is a digital file format for storing contact information. The format is widely used for data interchange among popular information exchange applications.
EML
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.
MSG
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.
MP3
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.
WAV
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.
BMP
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.
DJVU
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.
DJV
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.
GIF
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.
JPG
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.
JPE
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.
JPEG
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.
JP2
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.
J2K
public static final FileType J2K
JPEG 2000 (J2K) 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.
JPF
public static final FileType JPF
JPEG 2000 (JPF) 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.
JPX
public static final FileType JPX
JPEG 2000 (JPX) 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.
JPM
public static final FileType JPM
JPEG 2000 (JPM) 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.
MJ2
public static final FileType MJ2
Video format defined as Motion JPEG 2000 (Part 3); contains a motion sequence of JPEG 2000 images; does not involve inter-frame coding, but instead encodes each frame independently using JPEG 2000 compression.
PNG
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.
TIFF
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.
TIF
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.
WEBP
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.
EMF
public static final FileType EMF
Enhanced metafile format (EMF) stores graphical images device-independently. Learn more about this file format here.
WMF
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.
PSD
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.
MPP
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.
MPT
public static final FileType MPT
MPT 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.
VSD
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.
VDX
public static final FileType VDX
Any drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. Learn more about this file format here.
VSDX
public static final FileType VSDX
Files with .VSDX extension represent Microsoft Visio file format introduced from Microsoft Office 2013 onwards. Learn more about this file format here.
VSS
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.
VSX
public static final FileType VSX
Files with .VSX extension refer to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. Learn more about this file format here.
VTX
public static final FileType VTX
Files with .VTX extension refer to Microsoft Visio drawing template that is saved to disc in XML file format. Learn more about this file format here.
DICOM
public static final FileType DICOM
DICOM is the acronym for Digital Imaging and Communications in Medicine and pertains to the field of Medical Informatics. DICOM is used for the integration of medical imaging devices like printers, servers, scanners etc from various vendors and also contains identification data of each patient for uniqueness. Learn more about this file format here.
HEIF
public static final FileType HEIF
An HEIF file is a High-Efficiency Container Image file format that is capable of storing a single image or a sequence of images in a single file. HEIF file format compresses the images using the High Efficiency Video Coding (HEVC) standard. Learn more about this file format here.
HEIC
public static final FileType HEIC
An HEIC file is a High-Efficiency Container Image file format that can store multiple images as a collection in a single file. HEIC, like HEIF, are compressed using the High Efficiency Video Coding (HEVC) standard and are smaller in size without compromising the quality. Learn more about this file format here.
DWG
public static final FileType DWG
Files with DWG extension represent proprietary binary files used for containing 2D and 3D design data. Learn more about this file format here.
DXF
public static final FileType DXF
DXF, Drawing Interchange Format, or Drawing Exchange Format, is a tagged data representation of AutoCAD drawing file. Learn more about this file format here.
AVI
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.
MOV
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.
QT
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.
MKA
public static final FileType MKA
MKA (Matroska Audio) is the Matroska multimedia container format used for Audio. The MKA format supports several different kinds of audio compression algorithms such as MP3, AAC and Vobis. Learn more about this file format here.
MKV
public static final FileType MKV
MKV (Matroska Video) is a multimedia container similar to MOV and AVI format but it supports more than one audio and subtitle track in the same file. Learn more about this file format here.
MK3D
public static final FileType MK3D
MK3D is actually stereoscopic 3D video created using Matroska 3D format. The MKV file container uses a StereoMode field\u2019s value to define the type of stereoscopic 3D video stuff. Learn more about this file format here.
WEBM
public static final FileType WEBM
WEBM is a video file based on the open, royalty-free WebM file format. It has been designed for sharing video on the web and defines the file container structure including video and audio formats. Learn more about this file format here.
FLV
public static final FileType FLV
FLV (Flash Video) is a container file format which is used to deliver audio/video content over the internet by using the Adobe Flash Player or Adobe Air. Learn more about this file format here.
ASF
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.
DNG
public static final FileType DNG
DNG is a digital camera image format used for the storage of raw files. It has been developed by Adobe in September 2004. It was basically developed for digital photography. DNG is an extension of TIFF/EP standard format and uses metadata significantly. In order to manipulate raw data from digital cameras with the ease of flexibility and artistic control, photographers opt camera raw files. JPEG and TIFF formats store images that are processed by the camera, therefore, not much room for alteration is available in such formats. here.
CR2
public static final FileType CR2
The .CR2 file format (Canon RAW version 2) is a digital photography RAW format created by Canon. here.
SEVENZIP
public static final FileType SEVENZIP
7z is a compressed archive file format that supports several different data compression, encryption and pre-processing algorithms. The 7z format initially appeared as implemented by the 7-Zip archiver. The 7-Zip program is publicly available under the terms of the GNU Lesser General Public License. here .
RAR
public static final FileType RAR
RAR is a proprietary archive file format that supports data compression, error correction and file spanning. here .
TAR
public static final FileType TAR
In computing, tar is a computer software utility for collecting many files into one archive file, often referred to as a tarball, for distribution or backup purposes. here .
getDescription()
public final String getDescription()
Gets the file type description.
Returns: java.lang.String - The file type description.
getExtension()
public final String getExtension()
Gets the file extension.
Returns: java.lang.String - The file extension.
getFileFormat()
public final FileFormat getFileFormat()
Gets the file format.
Returns: FileFormat - The file format.
toString()
public String toString()
Returns a String that represents the current FileType .
Returns: java.lang.String - A String that represents the current FileType .
getSupportedFileTypes()
public static Iterable<FileType> getSupportedFileTypes()
Retrieves supported file types.
Returns: java.lang.Iterable<com.groupdocs.metadata.core.FileType> - A collection of supported file types.
fromExtension(String fileExtension)
public static FileType fromExtension(String fileExtension)
Gets FileType for provided fileExtension
Parameters:
Parameter | Type | Description |
---|---|---|
fileExtension | java.lang.String | File extension |
Returns: FileType - File type