com.groupdocs.viewer

Enum FileType

  • All Implemented Interfaces:
    com.aspose.ms.System.IEquatable<FileType>, com.groupdocs.viewer.caching.Cacheable, Serializable, Comparable<FileType>


    public enum FileType
    extends Enum<FileType>
    implements com.aspose.ms.System.IEquatable<FileType>, com.groupdocs.viewer.caching.Cacheable

    Represents file type. Provides methods to obtain list of all file types supported by GroupDocs.Viewer.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      AS
      ActionScript File (.as)
      AS_3
      ActionScript File (.as)
      ASM
      Assembly Language Source Code File (.asm)
      BAT
      DOS Batch File (.bat)
      BMP
      Bitmap Image File (.bmp) is used to store bitmap digital images.
      BZ_2
      Bzip2 Compressed File (.bz2) are compressed files generated using the BZIP2 open source compression method, mostly on UNIX or Linux system.
      C
      C/C++ Source Code File (.c)
      CC
      C++ Source Code File (.cc)
      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.
      CF2
      Common File Format File Learn more about this file format here.
      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.
      CMAKE
      CMake File (.cmake)
      CPP
      C++ Source Code File (.cpp)
      CS
      C# Source Code File (.cs) is a source code file for C# programming language.
      CSS
      Cascading Style Sheet (.css)
      CSV
      Comma Separated Values File (.csv) represents plain text files that contain records of data with comma separated values.
      CXX
      C++ Source Code File (.cxx)
      DCM
      DICOM Image (.dcm) represents digital image which stores medical information of patients such as MRIs, CT scans and ultrasound images.
      DGN
      MicroStation Design File (.dgn) are drawings created by and supported by CAD applications such as MicroStation and Intergraph Interactive Graphics Design System.
      DIB
      Device Independent Bitmap File (.dib)
      DIFF
      Patch File (.diff)
      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.
      DNG
      Digital Negative Specification (.dng) is a digital camera image format used for the storage of raw files.
      DOC
      Microsoft Word Document (.doc) represents documents generated by Microsoft Word or other word processing documents in binary file format.
      DOCM
      Word Open XML Macro-Enabled Document (.docm) is a Microsoft Word 2007 or higher generated documents with the ability to run macros.
      DOCX
      Microsoft Word Open XML Document (.docx) is a well-known format for Microsoft Word documents.
      DOT
      Word Document Template (.dot) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files.
      DOTM
      Word Open XML Macro-Enabled Document Template (.dotm) represents template file created with Microsoft Word 2007 or higher.
      DOTX
      Word Open XML Document Template (.dotx) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files.
      DWF
      Design Web Format File (.dwf) represents 2D/3D drawing in compressed format for viewing, reviewing or printing design files.
      DWG
      AutoCAD Drawing Database File (.dwg) represents proprietary binary files used for containing 2D and 3D design data.
      DWT
      AutoCAD Drawing Template (.dwt) is an AutoCAD drawing template file that is used as starter for creating drawings that can be saved as DWG files.
      DXF
      Drawing Exchange Format File (.dxf) is a tagged data representation of AutoCAD drawing file.
      EMF
      Enhanced Windows Metafile (.emf) represents graphical images device-independently.
      EML
      E-Mail Message (.eml) represents email messages saved using Outlook and other relevant applications.
      EMLX
      Apple Mail Message (.emlx) is implemented and developed by Apple.
      EPS
      Encapsulated PostScript File (.eps) describes an Encapsulated PostScript language program that describes the appearance of a single page.
      EPUB
      Open eBook File (.epub) is an e-book file format that provide a standard digital publication format for publishers and consumers.
      ERB
      Ruby ERB Script (.erb)
      EXCEL_2003_XML
      Excel 2003 XML (SpreadsheetML) represents Excel Binary File Format.
      FODG
      Flat XML ODF Template (.fodg) is used by Apache OpenOffice's Draw application to store drawing elements as a vector image.
      FODP
      OpenDocument Presentation (.fodp) represents OpenDocument Flat XML Presentation.
      FODS
      OpenDocument Flat XML Spreadsheet (.fods)
      GIF
      Graphical Interchange Format File (.gif) is a type of highly compressed image.
      GROOVY
      Groovy Source Code File (.groovy)
      GZ
      Gnu Zipped File (.gz) are compressed files created with gzip compression application.
      GZIP
      Gnu Zipped File (.gzip) was introduced as a free utility for replacing the Compress program used in Unix systems.
      H
      C/C++/Objective-C Header File (.h)
      HAML
      Haml Source Code File (.haml)
      HH
      C++ Header File (.hh)
      HPG
      PLT (HPGL) (.hpg)
      HPGL
      HPGL (.hpgl)
      HTM
      Hypertext Markup Language File (.htm) is the extension for web pages created for display in browsers.
      HTML
      Hypertext Markup Language File (.html) is the extension for web pages created for display in browsers.
      ICO
      Icon File (.ico) are image file types used as icon for representation of an application on Microsoft Windows.
      IFC
      Industry Foundation Classes File (.ifc) is a file format that establishes international standards to import and export building objects and their properties.
      IGS
      Initial Graphics Exchange Specification (IGES) (.igs)
      J2C
      JPEG 2000 Code InputStream (.j2c)
      J2K
      JPEG 2000 Code Stream (.j2k) is an image that is compressed using the wavelet compression instead of DCT compression.
      JAVA
      Java Source Code File (.java)
      JP_2
      JPEG 2000 Core Image File (.jp2) is an image coding system and state-of-the-art image compression standard.
      JPC
      JPEG 2000 Code InputStream (.jpc)
      JPEG
      JPEG Image (.jpeg) is a type of image format that is saved using the method of lossy compression.
      JPF
      JPEG 2000 Image File (.jpf)
      JPG
      JPEG Image (.jpg) is a type of image format that is saved using the method of lossy compression.
      JPM
      JPEG 2000 Image File (.jpm)
      JPX
      JPEG 2000 Image File (.jpx)
      JS
      JavaScript File (.js)
      JSON
      JavaScript Object Notation File (.json)
      LESS
      LESS Style Sheet (.less)
      LOG
      Log File (.log)
      M
      Objective-C Implementation File (.m)
      MAKE
      Xcode Makefile Script (.make)
      MD
      Markdown Documentation File (.md)
      MHT
      MHTML Web Archive (.mht)
      MHTML
      MIME HTML File (.mhtml)
      ML
      ML Source Code File (.ml)
      MM
      Objective-C++ Source File (.mm)
      MOBI
      Mobipocket eBook (.mobi) is one of the most widely used ebook file format.
      MPP
      Microsoft Project File (.mpp) is Microsoft Project data file that stores information related to project management in an integrated manner.
      MPT
      Microsoft Project Template (.mpt) contains basic information and structure along with document settings for creating .MPP files.
      MPX
      Microsoft Project Exchange file (.mpx) is an ASCII file format for transferring of project information between Microsoft Project (MSP) and other applications that support the MPX file format such as Primavera Project Planner, Sciforma and Timerline Precision Estimating.
      MSG
      Outlook Mail Message (.msg) is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks.
      NSF
      Lotus Notes Database (.nsf) Learn more about this file format https://fileinfo.com/extension/nsf
      NUMBERS
      Apple numbers represents Excel like Binary File Format.
      OBJ
      Wavefront 3D Object File (.obj) is 3D image file introduced by Wavefront Technologies Learn more about this file format here.
      ODG
      OpenDocument Graphic File (.odg) is used by Apache OpenOffice's Draw application to store drawing elements as a vector image.
      ODP
      OpenDocument Presentation (.odp) represents presentation file format used by OpenOffice.org in the OASISOpen standard.
      ODS
      OpenDocument Spreadsheet (.ods) stands for OpenDocument Spreadsheet Document format that are editable by user.
      ODT
      OpenDocument Text Document (.odt) are type of documents created with word processing applications that are based on OpenDocument Text File format.
      ONE
      OneNote Document (.one) is created by Microsoft OneNote application.
      OST
      Outlook Offline Data File (.ost) represents user's mailbox data in offline mode on local machine upon registration with Exchange Server using Microsoft Outlook.
      OTG
      OpenDocument Graphic Template (.otg)
      OTP
      OpenDocument Presentation Template (.otp) represents presentation template files created by applications in OASIS OpenDocument standard format.
      OTS
      OpenDocument Spreadsheet Template (.ots)
      OTT
      OpenDocument Document Template (.ott) represents template documents generated by applications in compliance with the OASIS' OpenDocument standard format.
      OXPS
      OpenXPS File (.oxps)
      PCL
      Printer Command Language Document (.pcl)
      PDF
      Portable Document Format File (.pdf) is a type of document created by Adobe back in 1990s.
      PHP
      PHP Source Code File (.php)
      PL
      Perl Script (.pl)
      PLT
      PLT (HPGL) (.plt) is a vector-based plotter file introduced by Autodesk, Inc.
      PNG
      Portable Network Graphic (.png) is a type of raster image file format that use loseless compression.
      POT
      PowerPoint Template (.pot) represents Microsoft PowerPoint template files created by PowerPoint 97-2003 versions.
      POTM
      PowerPoint Open XML Macro-Enabled Presentation Template (.potm) are Microsoft PowerPoint template files with support for Macros.
      POTX
      PowerPoint Open XML Presentation Template (.potx) represents Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above.
      PPS
      PowerPoint Slide Show (.pps) are created using Microsoft PowerPoint for Slide Show purpose.
      PPSM
      PowerPoint Open XML Macro-Enabled Slide (.ppsm) represents Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher.
      PPSX
      PowerPoint Open XML Slide Show (.ppsx) files are created using Microsoft PowerPoint 2007 and above for Slide Show purpose.
      PPT
      PowerPoint Presentation (.ppt) represents PowerPoint file that consists of a collection of slides for displaying as SlideShow.
      PPTM
      PowerPoint Open XML Macro-Enabled Presentation are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions.
      PPTX
      PowerPoint Open XML Presentation (.pptx) are presentation files created with popular Microsoft PowerPoint application.
      PROPERTIES
      Java Properties File (.properties)
      PS
      PostScript File (.ps)
      PSD
      Adobe Photoshop Document (.psd) represents Adobe Photoshop's native file format used for graphics designing and development.
      PST
      Outlook Personal Information Store File (.pst) represents Outlook Personal Storage Files (also called Personal Storage Table) that store variety of user information.
      PY
      Python Script (.py)
      RAR
      Roshal ARchive (.rar) are compressed files generated using the RAR (WINRAR version 4) compression method.
      RB
      Ruby Source Code (.rb)
      RST
      reStructuredText File (.rst)
      RTF
      Rich Text Format File (.rtf) represents a method of encoding formatted text and graphics for use within applications.
      SASS
      Syntactically Awesome StyleSheets File (.sass)
      SCALA
      Scala Source Code File (.scala)
      SCM
      Scheme Source Code File (.scm)
      SCRIPT
      Generic Script File (.script)
      SH
      Bash Shell Script (.sh)
      SML
      Standard ML Source Code File (.sml)
      SQL
      Structured Query Language Data File (.sql)
      STL
      Stereolithography File (.stl) is an interchangeable file format that represents 3-dimensional surface geometry.
      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.
      SXC
      StarOffice Calc Spreadsheet (.sxc)
      TAR
      Consolidated Unix File Archive (.tar) are archives created with Unix-based utility for collecting one or more files.
      TEX
      LaTeX Source Document (.tex) is a language that comprises of programming as well as mark-up features, used to typeset documents.
      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.
      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.
      TSV
      Tab Separated Values File (.tsv) represents data separated with tabs in plain text format.
      TXT
      Plain Text File (.txt) represents a text document that contains plain text in the form of lines.
      UNKNOWN
      Represents unknown file type.
      VB
      Visual Basic Project Item File (.vb) is a source code file created in Visual Basic language that was created by Microsoft for development of .NET applications.
      VCF
      vCard File (.vcf) is a digital file format for storing contact information.
      VDW
      Visio Web Drawing (.vdw) represents file format that specifies the streams and storages required for rendering a Web drawing.
      VDX
      Visio Drawing XML File (.vdx) represents any drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension.
      VIM
      Vim Settings File (.vim)
      VSD
      Visio Drawing File (.vsd) are drawings created with Microsoft Visio application to represent variety of graphical objects and the interconnection between these.
      VSDM
      Visio Macro-Enabled Drawing (.vsdm) are drawing files created with Microsoft Visio application that supports macros.
      VSDX
      Visio Drawing (.vsdx) represents Microsoft Visio file format introduced from Microsoft Office 2013 onwards.
      VSS
      Visio Stencil File(.vss) are stencil files created with Microsoft Visio 2007 and earlier.
      VSSM
      Visio Macro-Enabled Stencil File (.vssm) are Microsoft Visio Stencil files that support provide support for macros.
      VSSX
      Visio Stencil File (.vssx) are drawing stencils created with Microsoft Visio 2013 and above.
      VST
      Visio Drawing Template (.vst) are vector image files created with Microsoft Visio and act as template for creating further files.
      VSTM
      Visio Macro-Enabled Drawing Template (.vstm) are template files created with Microsoft Visio that support macros.
      VSTX
      Visio Drawing Template (.vstx) are drawing template files created with Microsoft Visio 2013 and above.
      VSX
      Visio Stencil XML File (.vsx) refers to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio.
      VTX
      Visio Template XML File (.vtx) is a Microsoft Visio drawing template that is saved to disc in XML file format.
      WEBP
      WebP Image (.webp) is a modern raster web image file format that is based on lossless and lossy compression.
      WMF
      Windows Metafile (.wmf) represents Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data.
      XLAM
      Microsoft Excel Add-in (.xlam)
      XLS
      Excel Spreadsheet (.xls) represents Excel Binary File Format.
      XLSB
      Excel Binary Spreadsheet (.xlsb) specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content.
      XLSM
      Excel Open XML Macro-Enabled Spreadsheet (.xlsm) is a type of Spreasheet files that support macros.
      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.
      XLT
      Microsoft Excel Template (.xlt) are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite.
      XLTM
      Microsoft Excel Macro-Enabled Template (.xltm) represents files that are generated by Microsoft Excel as Macro-enabled template files.
      XLTX
      Excel Open XML Spreadsheet Template (.xltx) represents Microsoft Excel Template that are based on the Office OpenXML file format specifications.
      XML
      XML File (.xml)
      XPS
      XML Paper Specification File (.xps) represents page layout files that are based on XML Paper Specifications created by Microsoft.
      YAML
      YAML Document (.yaml)
      ZIP
      Zipped File (.zip) represents archives that can hold one or more files or directories.
    • Enum Constant Detail

      • AS

        public static final FileType AS

        ActionScript File (.as)

      • AS_3

        public static final FileType AS_3

        ActionScript File (.as)

      • ASM

        public static final FileType ASM

        Assembly Language Source Code File (.asm)

      • BAT

        public static final FileType BAT

        DOS Batch File (.bat)

      • BMP

        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 here.

      • BZ_2

        public static final FileType BZ_2

        Bzip2 Compressed File (.bz2) are compressed files generated using the BZIP2 open source compression method, mostly on UNIX or Linux system. Learn more about this file format here.

      • C

        public static final FileType C

        C/C++ Source Code File (.c)

      • CC

        public static final FileType CC

        C++ Source Code File (.cc)

      • CDR

        public static final FileType CDR

        CorelDraw Vector Graphic Drawing (.cdr) is a vector drawing image file that is natively created with CorelDRAW for storing digital image encoded and compressed. Such a drawing file contains text, lines, shapes, images, colours and effects for vector representation of image contents. Learn more about this file format here.

      • CF2

        public static final FileType CF2

        Common File Format File Learn more about this file format here.

      • CGM

        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 here.

      • CMAKE

        public static final FileType CMAKE

        CMake File (.cmake)

      • CPP

        public static final FileType CPP

        C++ Source Code File (.cpp)

      • CS

        public static final FileType CS

        C# Source Code File (.cs) is a source code file for C# programming language. Introduced by Microsoft for use with the .NET Framework. Learn more about this file format here.

      • CSS

        public static final FileType CSS

        Cascading Style Sheet (.css)

      • CSV

        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 here.

      • CXX

        public static final FileType CXX

        C++ Source Code File (.cxx)

      • DCM

        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 here.

      • DGN

        public static final FileType DGN

        MicroStation Design File (.dgn) are drawings created by and supported by CAD applications such as MicroStation and Intergraph Interactive Graphics Design System. Learn more about this file format here.

      • DIB

        public static final FileType DIB

        Device Independent Bitmap File (.dib)

      • DIFF

        public static final FileType DIFF

        Patch File (.diff)

      • DJVU

        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 here.

      • DNG

        public static final FileType DNG

        Digital Negative Specification (.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. Learn more about this file format here.

      • DOC

        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 here.

      • DOCM

        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 here.

      • DOCX

        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 here.

      • DOT

        public static final FileType DOT

        Word Document Template (.dot) 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.

      • DOTM

        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 here.

      • DOTX

        public static final FileType DOTX

        Word Open XML Document Template (.dotx) 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.

      • DWF

        public static final FileType DWF

        Design Web Format File (.dwf) represents 2D/3D drawing in compressed format for viewing, reviewing or printing design files. It contains graphics and text as part of design data and reduce the size of the file due to its compressed format. Learn more about this file format here.

      • DWG

        public static final FileType DWG

        AutoCAD Drawing Database File (.dwg) represents proprietary binary files used for containing 2D and 3D design data. Like DXF, which are ASCII files, DWG represent the binary file format for CAD (Computer Aided Design) drawings. Learn more about this file format here.

      • DWT

        public static final FileType DWT

        AutoCAD Drawing Template (.dwt) is an AutoCAD drawing template file that is used as starter for creating drawings that can be saved as DWG files. Learn more about this file format here.

      • DXF

        public static final FileType DXF

        Drawing Exchange Format File (.dxf) is a tagged data representation of AutoCAD drawing file. Learn more about this file format here.

      • EMF

        public static final FileType EMF

        Enhanced Windows Metafile (.emf) represents graphical images device-independently. Metafiles 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 here.

      • EML

        public static final FileType EML

        E-Mail Message (.eml) represents email messages saved using Outlook and other relevant applications. Almost all emailing clients support this file format for its compliance with RFC-822 Internet Message Format Standard. Learn more about this file format here.

      • EMLX

        public static final FileType EMLX

        Apple Mail Message (.emlx) 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.

      • EPS

        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 here.

      • EPUB

        public static final FileType EPUB

        Open eBook File (.epub) is an e-book file format that provide a standard digital publication format for publishers and consumers. The format has been so common by now that it is supported by many e-readers and software applications. Learn more about this file format here.

      • ERB

        public static final FileType ERB

        Ruby ERB Script (.erb)

      • EXCEL_2003_XML

        public static final FileType EXCEL_2003_XML

        Excel 2003 XML (SpreadsheetML) 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 here.

      • FODG

        public static final FileType FODG

        Flat XML ODF Template (.fodg) is used by Apache OpenOffice's Draw application to store drawing elements as a vector image. Learn more about this file format here.

      • FODP

        public static final FileType FODP

        OpenDocument Presentation (.fodp) represents OpenDocument Flat XML Presentation. Learn more about this file format here.

      • FODS

        public static final FileType FODS

        OpenDocument Flat XML Spreadsheet (.fods)

      • GIF

        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 here.

      • GROOVY

        public static final FileType GROOVY

        Groovy Source Code File (.groovy)

      • GZ

        public static final FileType GZ

        Gnu Zipped File (.gz) are compressed files created with gzip compression application. It can contain multiple compressed files and is commonly used on UNIX and Linux systems. Learn more about this file format here.

      • GZIP

        public static final FileType GZIP

        Gnu Zipped File (.gzip) was introduced as a free utility for replacing the Compress program used in Unix systems. Such files can be opened and extracted with a several applications such as WinZip which is available on both Windows and MacOS. Learn more about this file format here.

      • H

        public static final FileType H

        C/C++/Objective-C Header File (.h)

      • HAML

        public static final FileType HAML

        Haml Source Code File (.haml)

      • HH

        public static final FileType HH

        C++ Header File (.hh)

      • HPG

        public static final FileType HPG

        PLT (HPGL) (.hpg)

      • HPGL

        public static final FileType HPGL

        HPGL (.hpgl)

      • HTM

        public static final FileType HTM

        Hypertext Markup Language File (.htm) is the extension for web pages created for display in browsers. Learn more about this file format here.

      • HTML

        public static final FileType HTML

        Hypertext Markup Language File (.html) is the extension for web pages created for display in browsers. Learn more about this file format here.

      • ICO

        public static final FileType ICO

        Icon File (.ico) are image file types used as icon for representation of an application on Microsoft Windows. Learn more about this file format here.

      • IFC

        public static final FileType IFC

        Industry Foundation Classes File (.ifc) is a file format that establishes international standards to import and export building objects and their properties. This file format provides interoperability between different software applications. Learn more about this file format here.

      • IGS

        public static final FileType IGS

        Initial Graphics Exchange Specification (IGES) (.igs)

      • J2C

        public static final FileType J2C

        JPEG 2000 Code InputStream (.j2c)

      • J2K

        public static final FileType J2K

        JPEG 2000 Code Stream (.j2k) is an image that is compressed using the wavelet compression instead of DCT compression. Learn more about this file format here.

      • JAVA

        public static final FileType JAVA

        Java Source Code File (.java)

      • JP_2

        public static final FileType JP_2

        JPEG 2000 Core Image File (.jp2) is an image coding system and state-of-the-art image compression standard. Learn more about this file format here.

      • JPC

        public static final FileType JPC

        JPEG 2000 Code InputStream (.jpc)

      • JPEG

        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 here.

      • JPF

        public static final FileType JPF

        JPEG 2000 Image File (.jpf)

      • JPG

        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 here.

      • JPM

        public static final FileType JPM

        JPEG 2000 Image File (.jpm)

      • JPX

        public static final FileType JPX

        JPEG 2000 Image File (.jpx)

      • JS

        public static final FileType JS

        JavaScript File (.js)

      • JSON

        public static final FileType JSON

        JavaScript Object Notation File (.json)

      • LESS

        public static final FileType LESS

        LESS Style Sheet (.less)

      • LOG

        public static final FileType LOG

        Log File (.log)

      • M

        public static final FileType M

        Objective-C Implementation File (.m)

      • MAKE

        public static final FileType MAKE

        Xcode Makefile Script (.make)

      • MD

        public static final FileType MD

        Markdown Documentation File (.md)

      • MHT

        public static final FileType MHT

        MHTML Web Archive (.mht)

      • MHTML

        public static final FileType MHTML

        MIME HTML File (.mhtml)

      • ML

        public static final FileType ML

        ML Source Code File (.ml)

      • MM

        public static final FileType MM

        Objective-C++ Source File (.mm)

      • MOBI

        public static final FileType MOBI

        Mobipocket eBook (.mobi) is one of the most widely used ebook file format. The format is an enhancement to the old OEB (Open Ebook Format) format and was used as proprietary format for Mobipocket Reader. Learn more about this file format here.

      • MPP

        public static final FileType MPP

        Microsoft Project File (.mpp) is Microsoft Project data file that stores information related to project management in an integrated manner. Learn more about this file format here.

      • MPT

        public static final FileType MPT

        Microsoft Project Template (.mpt) contains basic information and structure along with document settings for creating .MPP files. Learn more about this file format here.

      • MPX

        public static final FileType MPX

        Microsoft Project Exchange file (.mpx) is an ASCII file format for transferring of project information between Microsoft Project (MSP) and other applications that support the MPX file format such as Primavera Project Planner, Sciforma and Timerline Precision Estimating. Learn more about this file format here.

      • MSG

        public static final FileType MSG

        Outlook Mail Message (.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.

      • NSF

        public static final FileType NSF

        Lotus Notes Database (.nsf) Learn more about this file format https://fileinfo.com/extension/nsf

      • NUMBERS

        public static final FileType NUMBERS

        Apple numbers represents Excel like Binary File Format. Such files can be created by Apple numbers application. Learn more about this file format here.

      • OBJ

        public static final FileType OBJ

        Wavefront 3D Object File (.obj) is 3D image file introduced by Wavefront Technologies Learn more about this file format here.

      • ODG

        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 here.

      • ODP

        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 here.

      • ODS

        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 here.

      • ODT

        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 here.

      • ONE

        public static final FileType ONE

        OneNote Document (.one) is created by Microsoft OneNote application. OneNote lets you gather information using the application as if you are using your draftpad for taking notes. Learn more about this file format here.

      • OST

        public static final FileType OST

        Outlook Offline Data File (.ost) represents 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.

      • OTG

        public static final FileType OTG

        OpenDocument Graphic Template (.otg)

      • OTP

        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 here.

      • OTS

        public static final FileType OTS

        OpenDocument Spreadsheet Template (.ots)

      • OTT

        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 here.

      • OXPS

        public static final FileType OXPS

        OpenXPS File (.oxps)

      • PCL

        public static final FileType PCL

        Printer Command Language Document (.pcl)

      • PDF

        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 here.

      • PHP

        public static final FileType PHP

        PHP Source Code File (.php)

      • PL

        public static final FileType PL

        Perl Script (.pl)

      • PLT

        public static final FileType PLT

        PLT (HPGL) (.plt) is a vector-based plotter file introduced by Autodesk, Inc. and contains information for a certain CAD file. Plotting details require accuracy and precision in production, and usage of PLT file guarantee this as all images are printed using lines instead of dots. Learn more about this file format here.

      • PNG

        public static final FileType PNG

        Portable Network Graphic (.png) is a type of raster image file format that use loseless 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 here.

      • POT

        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 here.

      • POTM

        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 here.

      • POTX

        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 here.

      • PPS

        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 here.

      • PPSM

        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 here.

      • PPSX

        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 here.

      • PPT

        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 here.

      • PPTM

        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 here.

      • PPTX

        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 here.

      • PROPERTIES

        public static final FileType PROPERTIES

        Java Properties File (.properties)

      • PS

        public static final FileType PS

        PostScript File (.ps)

      • PSD

        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 here.

      • PST

        public static final FileType PST

        Outlook Personal Information Store File (.pst) represents Outlook Personal Storage Files (also called Personal Storage Table) that store variety of user information. Learn more about this file format here.

      • PY

        public static final FileType PY

        Python Script (.py)

      • RAR

        public static final FileType RAR

        Roshal ARchive (.rar) are compressed files generated using the RAR (WINRAR version 4) compression method. Learn more about this file format here.

      • RB

        public static final FileType RB

        Ruby Source Code (.rb)

      • RST

        public static final FileType RST

        reStructuredText File (.rst)

      • RTF

        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 here.

      • SASS

        public static final FileType SASS

        Syntactically Awesome StyleSheets File (.sass)

      • SCALA

        public static final FileType SCALA

        Scala Source Code File (.scala)

      • SCM

        public static final FileType SCM

        Scheme Source Code File (.scm)

      • SCRIPT

        public static final FileType SCRIPT

        Generic Script File (.script)

      • SH

        public static final FileType SH

        Bash Shell Script (.sh)

      • SML

        public static final FileType SML

        Standard ML Source Code File (.sml)

      • SQL

        public static final FileType SQL

        Structured Query Language Data File (.sql)

      • STL

        public static final FileType STL

        Stereolithography File (.stl) is an interchangeable file format that represents 3-dimensional surface geometry. The file format finds its usage in several fields such as rapid prototyping, 3D printing and computer-aided manufacturing. Learn more about this file format here.

      • SVG

        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 here.

      • SXC

        public static final FileType SXC

        StarOffice Calc Spreadsheet (.sxc)

      • TAR

        public static final FileType TAR

        Consolidated Unix File Archive (.tar) are archives created with Unix-based utility for collecting one or more files. Learn more about this file format here.

      • TEX

        public static final FileType TEX

        LaTeX Source Document (.tex) is a language that comprises of programming as well as mark-up features, used to typeset documents. Learn more about this file format here.

      • TIF

        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 here.

      • TIFF

        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 here.

      • TSV

        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 here.

      • TXT

        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 here.

      • UNKNOWN

        public static final FileType UNKNOWN

        Represents unknown file type.

      • VB

        public static final FileType VB

        Visual Basic Project Item File (.vb) is a source code file created in Visual Basic language that was created by Microsoft for development of .NET applications. Learn more about this file format here.

      • VCF

        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 here.

      • VDW

        public static final FileType VDW

        Visio Web Drawing (.vdw) represents file format that specifies the streams and storages required for rendering a Web drawing. Learn more about this file format here.

      • VDX

        public static final FileType VDX

        Visio Drawing XML File (.vdx) represents any drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. A Visio drawing XML file is created in Visio software, which is developed by Microsoft. Learn more about this file format here.

      • VIM

        public static final FileType VIM

        Vim Settings File (.vim)

      • VSD

        public static final FileType VSD

        Visio Drawing File (.vsd) 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.

      • VSDM

        public static final FileType VSDM

        Visio Macro-Enabled Drawing (.vsdm) are drawing files created with Microsoft Visio application that supports macros. VSDM files are OPC/XML drawings that are similar to VSDX, but also provide the capability to run macros when the file is opened. Learn more about this file format here.

      • VSDX

        public static final FileType VSDX

        Visio Drawing (.vsdx) represents Microsoft Visio file format introduced from Microsoft Office 2013 onwards. It was developed to replace the binary file format, .VSD, which is supported by earlier versions of Microsoft Visio. Learn more about this file format here.

      • VSS

        public static final FileType VSS

        Visio Stencil File(.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.

      • VSSM

        public static final FileType VSSM

        Visio Macro-Enabled Stencil File (.vssm) are Microsoft Visio Stencil files that support provide support for macros. A VSSM file when opened allows to run the macros to achieve desired formatting and placement of shapes in a diagram. Learn more about this file format here.

      • VSSX

        public static final FileType VSSX

        Visio Stencil File (.vssx) are drawing stencils created with Microsoft Visio 2013 and above. The VSSX file format can be opened with Visio 2013 and above. Visio files are known for representation of a variety of drawing elements such as collection of shapes, connectors, flowcharts, network layout, UML diagrams, Learn more about this file format here.

      • VST

        public static final FileType VST

        Visio Drawing Template (.vst) are vector image files created with Microsoft Visio and act as template for creating further files. These template files are in binary file format and contain the default layout and settings that are utilized for creation of new Visio drawings. Learn more about this file format here.

      • VSTM

        public static final FileType VSTM

        Visio Macro-Enabled Drawing Template (.vstm) are template files created with Microsoft Visio that support macros. Unlike VSDX files, files created from VSTM templates can run macros that are developed in Visual Basic for Applications (VBA) code. Learn more about this file format here.

      • VSTX

        public static final FileType VSTX

        Visio Drawing Template (.vstx) are drawing template files created with Microsoft Visio 2013 and above. These VSTX files provide starting point for creating Visio drawings, saved as .VSDX files, with default layout and settings. Learn more about this file format here.

      • VSX

        public static final FileType VSX

        Visio Stencil XML File (.vsx) refers to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. VSX files are saved in XML file format and was supported till Visio 2013. Learn more about this file format here.

      • VTX

        public static final FileType VTX

        Visio Template XML File (.vtx) is a Microsoft Visio drawing template that is saved to disc in XML file format. The template is aimed to provide a file with basic settings that can be used to create multiple Visio files of the same settings. Learn more about this file format here.

      • WEBP

        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 here.

      • WMF

        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 here.

      • XLAM

        public static final FileType XLAM

        Microsoft Excel Add-in (.xlam)

      • XLS

        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 here.

      • XLSB

        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 here.

      • XLSM

        public static final FileType XLSM

        Excel Open XML Macro-Enabled Spreadsheet (.xlsm) is a type of Spreasheet files that support macros. Learn more about this file format here.

      • XLSX

        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 here.

      • XLT

        public static final FileType XLT

        Microsoft Excel Template (.xlt) are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. Microsoft Office 97-2003 supported creating new XLT files as well as opening these. Learn more about this file format here.

      • XLTM

        public static final FileType XLTM

        Microsoft Excel Macro-Enabled Template (.xltm) represents files that are generated by Microsoft Excel as Macro-enabled template files. XLTM files are similar to XLTX in structure other than that the later doesn't support creating template files with macros. Learn more about this file format here.

      • XLTX

        public static final FileType XLTX

        Excel Open XML Spreadsheet Template (.xltx) represents Microsoft Excel Template that are based on the Office OpenXML file format specifications. It is used to create a standard template file that can be utilized to generate XLSX files that exhibit the same settings as specified in the XLTX file. Learn more about this file format here.

      • XML

        public static final FileType XML

        XML File (.xml)

      • XPS

        public static final FileType XPS

        XML Paper Specification File (.xps) represents page layout files that are based on XML Paper Specifications created by Microsoft. This format was developed by Microsoft as a replacement of EMF file format and is similar to PDF file format, but uses XML in layout, appearance, and printing information of a document. Learn more about this file format here.

      • YAML

        public static final FileType YAML

        YAML Document (.yaml)

      • ZIP

        public static final FileType ZIP

        Zipped File (.zip) represents archives that can hold one or more files or directories. Learn more about this file format here.

    • Method Detail

      • fromExtension

        public static FileType fromExtension(String extension)

        Maps file extension to file type.

        Parameters:
        extension - File extension with or without the period "."
        Returns:
        When file type is supported returns it, otherwise returns default UNKNOWN file type.
        Throws:
        IllegalArgumentException - Thrown when extension is null or empty string.
      • fromMediaType

        public static FileType fromMediaType(String mediaType)
        Maps file media type to file type e.g. 'application/pdf' will be mapped to FileType.PDF.
        Parameters:
        mediaType - File media type e.g. application/pdf.
        Returns:
        Returns corresponding media type when found, otherwise returns default Unknown file type.
        Throws:
        IllegalArgumentException - Thrown when mediaType is null or empty string.
      • fromStream

        public static FileType fromStream(InputStream stream)
        Detects file type by reading the file signature.
        Parameters:
        stream - The file stream.
        Returns:
        Returns file type in case it was detected successfully otherwise returns default Unknown file type.
      • fromStream

        public static FileType fromStream(InputStream stream,
                          String password)
        Detects file type by reading the file signature.
        Parameters:
        stream - The file stream.
        password - The password to open the file.
        Returns:
        Returns file type in case it was detected successfully otherwise returns default Unknown file type.
      • getExtension

        public final String getExtension()

        Filename suffix (including the period ".") e.g. ".doc".

      • getFileFormat

        public final String getFileFormat()

        File type name e.g. "Microsoft Word Document".

      • toString

        public String toString()

        Returns a string that represents the current object.

        Overrides:
        toString in class Enum<FileType>
        Returns:
        A string that represents the current object.
      • valueOf

        public static FileType valueOf(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • values

        public static FileType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (FileType c : FileType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared