com.groupdocs.merger.domain

Class FileType

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static FileType BMP
      Bitmap Image File (.bmp) represent files that are used to store bitmap digital images.
      static FileType CSV
      Comma Separated Values File (.csv) represents plain text files that contain records of data with comma separated values.
      static FileType DOC
      Microsoft Word Document (.doc) represent documents generated by Microsoft Word or other word processing documents in binary file format.
      static FileType DOCM
      Word Open XML Macro-Enabled Document (.docm) files are Microsoft Word 2007 or higher generated documents with the ability to run macros.
      static FileType DOCX
      Microsoft Word Open XML Document (.docx) is a well-known format for Microsoft Word documents.
      static FileType DOT
      Word Document Template (.dot) files are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files.
      static FileType DOTM
      Word Open XML Macro-Enabled Document Template (.dotm) represents template file created with Microsoft Word 2007 or higher.
      static FileType DOTX
      Word Open XML Document Template (.dotx) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files.
      static FileType EPUB
      Open eBook File (.epub) are an e-book file format that provide a standard digital publication format for publishers and consumers.
      static FileType ERR
      Error Log File (.err) is a text file that contains error messages generated by a program.
      static FileType HTML
      Hypertext Markup Language File (.html) is the extension for web pages created for display in browsers.
      static FileType JPEG
      JPEG Image (.jpeg) is a type of image format that is saved using the method of lossy compression.
      static FileType JPG
      JPEG Image (.jpg)
      static FileType MHT
      MHTML Web Archive (.mht) is a web page archive format that can be created by a number of different applications.
      static FileType MHTML
      MIME HTML File (.mhtml) is a web page archive format that can be created by a number of different applications.
      static FileType ODP
      OpenDocument Presentation (.odp) represents presentation file format used by OpenOffice.org in the OASISOpen standard.
      static FileType ODS
      OpenDocument Spreadsheet (.ods) Learn more about this file format <a href="https://docs.fileformat.com/spreadsheet/ods">here</a>.
      static FileType ODT
      OpenDocument Text Document (.odt) files are type of documents created with word processing applications that are based on OpenDocument Text File format.
      static FileType ONE
      OneNote Document (.one) files are created by Microsoft OneNote application.
      static FileType OTP
      OpenDocument Presentation Template (.otp) represents presentation template files created by applications in OASIS OpenDocument standard format.
      static FileType OTT
      OpenDocument Document Template (.ott) represent template documents generated by applications in compliance with the OASIS' OpenDocument standard format.
      static FileType PDF
      Portable Document Format File (.pdf) isa file format that was to introduced as 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.
      static FileType PNG
      Portable Network Graphic (.png) is a type of raster image file format that use loseless compression.
      static FileType PPS
      PowerPoint Slide Show (.pps) is a file created using Microsoft PowerPoint for Slide Show purpose.
      static FileType PPSX
      PowerPoint Open XML Slide Show (.ppsx) is a file created using Microsoft PowerPoint 2007 and above for Slide Show purpose.
      static FileType PPT
      PowerPoint Presentation (.ppt) represents PowerPoint file that consists of a collection of slides for displaying as SlideShow.
      static FileType PPTX
      PowerPoint Open XML Presentation (.pptx) is a presentation file created with popular Microsoft PowerPoint application.
      static FileType PS
      PostScript File (.ps)
      static FileType RTF
      Rich Text Format File (.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 TEX
      LaTeX Source Document (.tex) is a language that comprises of programming as well as mark-up features, used to typeset documents.
      static FileType TSV
      Tab Separated Values File (.tsv) represents data separated with tabs in plain text format.
      static FileType TXT
      Plain Text File (.txt) represents a text document that contains plain text in the form of lines.
      static FileType Unknown
      Represents unknown file type.
      static FileType VDX
      Visio Drawing XML File (.vdx)is a drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension.
      static FileType VSDM
      Visio Macro-Enabled Drawing (.vsdm) are drawing files created with Microsoft Visio application that supports macros.
      static FileType VSDX
      Visio Drawing (.vsdx) represents Microsoft Visio file format introduced from Microsoft Office 2013 onwards.
      static FileType VSSM
      Visio Macro-Enabled Stencil File (.vssm) are Microsoft Visio Stencil files that support provide support for macros.
      static FileType VSSX
      Visio Stencil File (.vssx) are drawing stencils created with Microsoft Visio 2013 and above.
      static FileType VSTM
      Visio Macro-Enabled Drawing Template (.vstm) are template files created with Microsoft Visio that support macros.
      static FileType VSTX
      Visio Drawing Template (.vstx) are drawing template files created with Microsoft Visio 2013 and above.
      static 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.
      static FileType VTX
      Visio Template XML File (.vtx) is a Microsoft Visio drawing template that is saved to disc in XML file format.
      static FileType XLAM
      Excel Macro-Enabled Add-In (.xlam)
      static FileType XLS
      Excel Spreadsheet (.xls) is a file that can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers.
      static FileType XLSB
      Excel Binary Spreadsheet (.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
      Excel Open XML Macro-Enabled Spreadsheet (.xlsm) is a type of Spreasheet files that support macros.
      static FileType XLSX
      Microsoft Excel Open XML Spreadsheet (.xlsx) is a well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007.
      static FileType XLT
      Excel Template File (.xlt) are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite.
      static FileType XLTM
      Excel Open XML Macro-Enabled Spreadsheet Template (.xltm) represents files that are generated by Microsoft Excel as Macro-enabled template files.
      static FileType XLTX
      Excel Open XML Spreadsheet Template (.xltx) files are based on the Office OpenXML file format specifications.
      static FileType XPS
      XML Paper Specification File (.xps) represents page layout files that are based on XML Paper Specifications created by Microsoft.
    • Field Detail

      • BMP

        public static final FileType BMP

        Bitmap Image File (.bmp) represent files that are used to store bitmap digital images. Learn more about this file format <a href="https://docs.fileformat.com/image/bmp">here</a>.

      • 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 <a href="https://docs.fileformat.com/spreadsheet/csv">here</a>.

      • DOC

        public static final FileType DOC

        Microsoft Word Document (.doc) represent documents generated by Microsoft Word or other word processing documents in binary file format. Learn more about this file format <a href="https://docs.fileformat.com/word-processing/doc">here</a>.

      • DOCM

        public static final FileType DOCM

        Word Open XML Macro-Enabled Document (.docm) files are Microsoft Word 2007 or higher generated documents with the ability to run macros. Learn more about this file format <a href="https://docs.fileformat.com/word-processing/docm">here</a>.

      • 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 <a href="https://docs.fileformat.com/word-processing/docx">here</a>.

      • DOT

        public static final FileType DOT

        Word Document Template (.dot) files 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 <a href="https://docs.fileformat.com/word-processing/dot">here</a>.

      • 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 <a href="https://docs.fileformat.com/word-processing/dotm">here</a>.

      • 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 <a href="https://docs.fileformat.com/word-processing/dotx">here</a>.

      • EPUB

        public static final FileType EPUB

        Open eBook File (.epub) are 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 <a href="https://docs.fileformat.com/ebook/epub">here</a>.

      • ERR

        public static final FileType ERR

        Error Log File (.err) is a text file that contains error messages generated by a program. Learn more about this file format <a href="https://fileinfo.com/extension/err">here</a>.

      • 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 <a href="https://docs.fileformat.com/web/html">here</a>.

      • 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 <a href="https://docs.fileformat.com/image/jpeg">here</a>.

      • JPG

        public static final FileType JPG

        JPEG Image (.jpg)

      • MHT

        public static final FileType MHT

        MHTML Web Archive (.mht) is a web page archive format that can be created by a number of different applications. Learn more about this file format <a href="https://docs.fileformat.com/web/mhtml">here</a>.

      • MHTML

        public static final FileType MHTML

        MIME HTML File (.mhtml) is a web page archive format that can be created by a number of different applications. Learn more about this file format <a href="https://docs.fileformat.com/web/mhtml">here</a>.

      • 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 <a href="https://docs.fileformat.com/presentation/odp">here</a>.

      • ODS

        public static final FileType ODS

        OpenDocument Spreadsheet (.ods) Learn more about this file format <a href="https://docs.fileformat.com/spreadsheet/ods">here</a>.

      • ODT

        public static final FileType ODT

        OpenDocument Text Document (.odt) files are type of documents created with word processing applications that are based on OpenDocument Text File format. Learn more about this file format <a href="https://docs.fileformat.com/word-processing/odt">here</a>.

      • ONE

        public static final FileType ONE

        OneNote Document (.one) files are 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 <a href="https://docs.fileformat.com/note-taking/one">here</a>.

      • 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 <a href="https://docs.fileformat.com/presentation/otp">here</a>.

      • OTT

        public static final FileType OTT

        OpenDocument Document Template (.ott) represent template documents generated by applications in compliance with the OASIS' OpenDocument standard format. Learn more about this file format <a href="https://docs.fileformat.com/word-processing/ott">here</a>.

      • PDF

        public static final FileType PDF

        Portable Document Format File (.pdf) isa file format that was to introduced as a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. Learn more about this file format <a href="https://docs.fileformat.com/view/pdf">here</a>.

      • PNG

        public static final FileType PNG

        Portable Network Graphic (.png) is a type of raster image file format that use loseless compression. Learn more about this file format <a href="https://docs.fileformat.com/image/png">here</a>.

      • PPS

        public static final FileType PPS

        PowerPoint Slide Show (.pps) is a file created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003. Learn more about this file format <a href="https://docs.fileformat.com/presentation/pps">here</a>.

      • PPSX

        public static final FileType PPSX

        PowerPoint Open XML Slide Show (.ppsx) is a file created using Microsoft PowerPoint 2007 and above for Slide Show purpose. Learn more about this file format <a href="https://docs.fileformat.com/presentation/ppsx">here</a>.

      • 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 <a href="https://docs.fileformat.com/presentation/ppt">here</a>.

      • PPTX

        public static final FileType PPTX

        PowerPoint Open XML Presentation (.pptx) is a presentation file created with popular Microsoft PowerPoint application. Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format. Learn more about this file format <a href="https://docs.fileformat.com/presentation/pptx">here</a>.

      • PS

        public static final FileType PS

        PostScript File (.ps)

      • RTF

        public static final FileType RTF

        Rich Text Format File (.rtf) introduced and documented by Microsoft, the Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. Learn more about this file format <a href="https://docs.fileformat.com/word-processing/rtf">here</a>.

      • 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 <a href="https://docs.fileformat.com/page-description-language/tex">here</a>.

      • 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 <a href="https://docs.fileformat.com/spreadsheet/tsv">here</a>.

      • 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 <a href="https://docs.fileformat.com/word-processing/txt">here</a>.

      • Unknown

        public static final FileType Unknown

        Represents unknown file type.

      • VDX

        public static final FileType VDX

        Visio Drawing XML File (.vdx)is a 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 <a href="https://docs.fileformat.com/image/vdx">here</a>.

      • 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 <a href="https://docs.fileformat.com/image/vsdm">here</a>.

      • 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 <a href="https://docs.fileformat.com/image/vsdx">here</a>.

      • 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 <a href="https://docs.fileformat.com/image/vssm">here</a>.

      • 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 <a href="https://docs.fileformat.com/image/vssx">here</a>.

      • 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 <a href="https://docs.fileformat.com/image/vstm">here</a>.

      • 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 <a href="https://docs.fileformat.com/image/vstx">here</a>.

      • 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 <a href="https://docs.fileformat.com/image/vsx">here</a>.

      • 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 <a href="https://docs.fileformat.com/image/vtx">here</a>.

      • XLAM

        public static final FileType XLAM

        Excel Macro-Enabled Add-In (.xlam)

      • XLS

        public static final FileType XLS

        Excel Spreadsheet (.xls) is a file that can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. Learn more about this file format <a href="https://docs.fileformat.com/spreadsheet/xls">here</a>.

      • XLSB

        public static final FileType XLSB

        Excel Binary Spreadsheet (.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 <a href="https://docs.fileformat.com/spreadsheet/xlsb">here</a>.

      • 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 <a href="https://docs.fileformat.com/spreadsheet/xlsm">here</a>.

      • 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 <a href="https://docs.fileformat.com/spreadsheet/xlsx">here</a>.

      • XLT

        public static final FileType XLT

        Excel Template File (.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 <a href="https://docs.fileformat.com/spreadsheet/xlt">here</a>.

      • XLTM

        public static final FileType XLTM

        Excel Open XML Macro-Enabled Spreadsheet 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 <a href="https://docs.fileformat.com/spreadsheet/xltm">here</a>.

      • XLTX

        public static final FileType XLTX

        Excel Open XML Spreadsheet Template (.xltx) files 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 <a href="https://docs.fileformat.com/spreadsheet/xltx">here</a>.

      • 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. Learn more about this file format <a href="https://docs.fileformat.com/page-description-language/xps">here</a>.

    • Method Detail

      • equals

        public final boolean equals(FileType other)

        Determines whether the current FileType is the same as specified FileType object.

        Parameters:
        other - The object to compare with the current FileType object.
        Returns:
        true
        if both FileType objects are the same; otherwise,
        false
      • equals

        public boolean equals(Object obj)

        Determines whether the current FileType is the same as specified object.

        Overrides:
        equals in class Object
        Parameters:
        obj - The object to compare with the current FileType object.
        Returns:
        true
        if
        obj
        parameter is FileType and is the same as current FileType object; otherwise,
        false
      • fromExtension

        public static FileType fromExtension(String extension)

        Maps file extension to file type.

        Parameters:
        extension - File extension (including the period ".").
        Returns:
        When file type is supported returns it, otherwise returns default Unknown file type.
        Throws:
        com.aspose.ms.System.ArgumentException - Thrown when extension is null or empty string.
      • 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".

      • getSupportedFileTypes

        public static List<FileType> getSupportedFileTypes()

        Retrieves supported file types

        Returns:
        Returns sequence of supported file types
      • hashCode

        public int hashCode()

        Returns the hash code for the current FileType object.

        Overrides:
        hashCode in class Object
        Returns:
        A hash code for the current FileType object.
      • isImage

        public static boolean isImage(FileType fileType)

        Determines whether input FileType is primitive text format.

        Parameters:
        fileType - The FileType object.
        Returns:
        true
        if input FileType is primitive image format; otherwise,
        false
      • isText

        public static boolean isText(FileType fileType)

        Determines whether input FileType is primitive text format.

        Parameters:
        fileType - The FileType object.
        Returns:
        true
        if input FileType is primitive text format; otherwise,
        false
      • op_Equality

        public static boolean op_Equality(FileType left,
                                          FileType right)

        Determines whether two FileType objects are the same.

        Parameters:
        left - Left FileType object.
        right - Right FileType object.
        Returns:
        true
        if both FileType objects are the same; otherwise,
        false
      • op_Inequality

        public static boolean op_Inequality(FileType left,
                                            FileType right)

        Determines whether two FileType objects are not the same.

        Parameters:
        left - Left FileType object.
        right - Right FileType object.
        Returns:
        true
        if both FileType objects are not the same; otherwise,
        false
      • toString

        public String toString()

        Returns a string that represents the current object.

        Overrides:
        toString in class Object
        Returns:
        A string that represents the current object.