com.groupdocs.comparison.result

Class FileType

  • All Implemented Interfaces:
    com.aspose.ms.System.IEquatable<FileType>


    public final class FileType
    extends Object
    implements com.aspose.ms.System.IEquatable<FileType>

    Represents file type. Provides methods to obtain list of all file types supported by GroupDocs.Comparison, detect file type by extension etc.

    • Field Detail

      • AS

        public static final FileType AS
        ActionScript Programming Language format
      • AS3

        public static final FileType AS3
        ActionScript Programming Language format
      • ASM

        public static final FileType ASM
        ASM format
      • BASH

        public static final FileType BASH
        Type of interpreter that processes shell commands
      • BASHRC

        public static final FileType BASHRC
        File determines the behavior of interactive shells
      • BAT

        public static final FileType BAT
        Script file in DOS, OS/2 and Microsoft Windows
      • BMP

        public static final FileType BMP
        Bitmap Picture
      • BOWERRC

        public static final FileType BOWERRC
        Configuration file for package control on the server-side
      • C

        public static final FileType C
        C-Based Programming Language format
      • CAD

        public static final FileType CAD
        CAD file format
      • CAKE

        public static final FileType CAKE
        CSharp cross-platform build automation system format
      • CC

        public static final FileType CC
        C-Based Programming Language format
      • CFG

        public static final FileType CFG
        Configuration file used for storing settings
      • CMAKE

        public static final FileType CMAKE
        Tool for managing the build process of software
      • CMD

        public static final FileType CMD
        Script file in DOS, OS/2 and Microsoft Windows
      • CONF

        public static final FileType CONF
        Configuration file used on Unix and Linux based systems
      • CPP

        public static final FileType CPP
        C-Based Programming Language format
      • CPY

        public static final FileType CPY
        Controller Python Script format
      • CS

        public static final FileType CS
        CSharp Programming Language format
      • CSV

        public static final FileType CSV
        Comma Separated Values File
      • CSX

        public static final FileType CSX
        CSharp script file format
      • CTP

        public static final FileType CTP
        CakePHP Template format
      • CXX

        public static final FileType CXX
        C-Based Programming Language format
      • DCM

        public static final FileType DCM
        Digital Imaging and Communications in Medicine
      • DIFF

        public static final FileType DIFF
        Data comparison tool format
      • DIR

        public static final FileType DIR
        Directory is a location for storing files on computer
      • DJVU

        public static final FileType DJVU
        Deja Vu format
      • DOC

        public static final FileType DOC
        Microsoft Word 97-2003 Document
      • DOCM

        public static final FileType DOCM
        Microsoft Word Macro-Enabled Document
      • DOCX

        public static final FileType DOCX
        Microsoft Word Document
      • DOT

        public static final FileType DOT
        Microsoft Word 97-2003 Template
      • DOTM

        public static final FileType DOTM
        Microsoft Word Macro-Enabled Template
      • DOTX

        public static final FileType DOTX
        Microsoft Word Template
      • DSQL

        public static final FileType DSQL
        Dynamic Structured Query Language format
      • DWG

        public static final FileType DWG
        Autodesk Design Data Formats
      • DXF

        public static final FileType DXF
        AutoCAD Drawing Interchange
      • EBUILD

        public static final FileType EBUILD
        Specialized bash script which automates compilation and installation procedures for software packages
      • EML

        public static final FileType EML
        E-mail Message
      • EMLX

        public static final FileType EMLX
        Apple Mail E-mail File
      • ERB

        public static final FileType ERB
        Ruby Programming Language format
      • ES6

        public static final FileType ES6
        JavaScript standardised scripting language format
      • GEMSPEC

        public static final FileType GEMSPEC
        Developer file that specifies the attributes of a RubyGems
      • GIF

        public static final FileType GIF
        Graphics Interchange Format
      • GRADLE

        public static final FileType GRADLE
        Build-automation system format
      • GROOVY

        public static final FileType GROOVY
        Source code file written in Groovy format
      • GVY

        public static final FileType GVY
        Source code file written in Groovy format
      • GYP

        public static final FileType GYP
        Build automation tool format
      • GYPI

        public static final FileType GYPI
        Build automation tool format
      • H

        public static final FileType H
        C-Based header files contain definitions of Functions and Variables
      • HAML

        public static final FileType HAML
        Markup language for simplified HTML generation
      • HAR

        public static final FileType HAR
        The HTTP Archive format
      • HH

        public static final FileType HH
        Header information referenced by a C++ source code file
      • HPP

        public static final FileType HPP
        Header Files that are written in the C++ programming language
      • HTML

        public static final FileType HTML
        HyperText Markup Language
      • HXX

        public static final FileType HXX
        Header Files that are written in the C++ programming language
      • IPY

        public static final FileType IPY
        IPython Script format
      • JAVA

        public static final FileType JAVA
        Java Programming Language format
      • JPEG

        public static final FileType JPEG
        Joint Photographic Experts Group
      • JS

        public static final FileType JS
        JavaScript Programming Language format
      • JSCSRC

        public static final FileType JSCSRC
        JavaScript configuration file format
      • JSHINTRC

        public static final FileType JSHINTRC
        JavaScript code quality tool
      • JSMAP

        public static final FileType JSMAP
        JSON file that contains information on how to translate code back to source code
      • JSON

        public static final FileType JSON
        Lightweight format for storing and transporting data
      • LESS

        public static final FileType LESS
        Dynamic preprocessor style sheet language format
      • LOG

        public static final FileType LOG
        Logging keeps a registry of events, processes, messages and communication
      • MAKE

        public static final FileType MAKE
        Makefile is a file containing a set of directives used by a make build automation tool to generate a target/goal
      • MARKDN

        public static final FileType MARKDN
        Markdown Language format
      • MARKDOWN

        public static final FileType MARKDOWN
        Markdown Language format
      • MD

        public static final FileType MD
        Markdown Language format
      • MDOWN

        public static final FileType MDOWN
        Markdown Language format
      • MDTEXT

        public static final FileType MDTEXT
        Markdown Language format
      • MDTXT

        public static final FileType MDTXT
        Markdown Language format
      • MDWN

        public static final FileType MDWN
        Markdown Language format
      • MHTML

        public static final FileType MHTML
        Mime HTML
      • MJS

        public static final FileType MJS
        Extension for EcmaScript (ES) module files
      • MK

        public static final FileType MK
        Makefile is a file containing a set of directives used by a make build automation tool to generate a target/goal
      • MKD

        public static final FileType MKD
        Markdown Language format
      • ML

        public static final FileType ML
        Caml Programming Language format
      • MLI

        public static final FileType MLI
        Caml Programming Language format
      • MOBI

        public static final FileType MOBI
        Mobipocket e-book format
      • MSG

        public static final FileType MSG
        Microsoft Outlook E-mail Message
      • NQP

        public static final FileType NQP
        Intermediate language used to build the Rakudo Perl 6 compiler
      • OBJC

        public static final FileType OBJC
        Objective-C Programming Language format
      • OBJCP

        public static final FileType OBJCP
        Objective-C++ Programming Language format
      • ODP

        public static final FileType ODP
        OpenDocument Presentation
      • ODS

        public static final FileType ODS
        OpenDocument Spreadsheet
      • ODT

        public static final FileType ODT
        OpenDocument Text
      • ONE

        public static final FileType ONE
        Microsoft OneNote Document
      • OTP

        public static final FileType OTP
        OpenDocument Presentation Template
      • OTT

        public static final FileType OTT
        OpenDocument Text Template
      • P6

        public static final FileType P6
        Perl Programming Language format
      • PAC

        public static final FileType PAC
        Proxy Auto-Configuration file for JavaScript function format
      • PATCH

        public static final FileType PATCH
        List of differences format
      • PDF

        public static final FileType PDF
        Adobe Portable Document format
      • PHP

        public static final FileType PHP
        PHP Programming Language format
      • PHP4

        public static final FileType PHP4
        PHP Programming Language format
      • PHP5

        public static final FileType PHP5
        PHP Programming Language format
      • PHTML

        public static final FileType PHTML
        Standard file extension for PHP 2 programs format
      • PL

        public static final FileType PL
        Perl Programming Language format
      • PL6

        public static final FileType PL6
        Perl Programming Language format
      • PM

        public static final FileType PM
        Perl module format
      • PM6

        public static final FileType PM6
        Perl module format
      • PNG

        public static final FileType PNG
        Portable Network Graphics
      • POD

        public static final FileType POD
        Perl lightweight markup language format
      • PODSPEC

        public static final FileType PODSPEC
        Ruby build settings format
      • POT

        public static final FileType POT
        Microsoft PowerPoint template
      • POTX

        public static final FileType POTX
        Microsoft PowerPoint Template
      • PPS

        public static final FileType PPS
        Microsoft PowerPoint 97-2003 Slide Show
      • PPSX

        public static final FileType PPSX
        Microsoft PowerPoint Slide Show
      • PPT

        public static final FileType PPT
        Microsoft PowerPoint 97-2003 Presentation
      • PPTX

        public static final FileType PPTX
        Microsoft PowerPoint Presentation
      • PROP

        public static final FileType PROP
        Properties file format
      • PSGI

        public static final FileType PSGI
        Interface between web servers and web applications and frameworks written in the Perl programming
      • PY

        public static final FileType PY
        Python Programming Language format
      • PYI

        public static final FileType PYI
        Python Interface file format
      • PYW

        public static final FileType PYW
        Files used in Windows to indicate a script needs to be run
      • RAKE

        public static final FileType RAKE
        Ruby build automation tool
      • RB

        public static final FileType RB
        Ruby Programming Language format
      • RBI

        public static final FileType RBI
        Ruby Interface file format
      • REJ

        public static final FileType REJ
        Rejected files format
      • RJS

        public static final FileType RJS
        Ruby Programming Language format
      • RPY

        public static final FileType RPY
        Python-based file engine to create and run games
      • RST

        public static final FileType RST
        Lightweight markup language
      • RTF

        public static final FileType RTF
        Rich Text Document
      • RU

        public static final FileType RU
        Rack configuration file format
      • SASS

        public static final FileType SASS
        Style sheet language format
      • SBT

        public static final FileType SBT
        SBT build tool for Scala format
      • SC

        public static final FileType SC
        Scala worksheet format
      • SCALA

        public static final FileType SCALA
        Scala Programming Language format
      • SCSS

        public static final FileType SCSS
        Style sheet language format
      • SH

        public static final FileType SH
        Script programmed for bash format
      • SQL

        public static final FileType SQL
        Structured Query Language format
      • T

        public static final FileType T
        Perl test file format
      • TXT

        public static final FileType TXT
        Plain Text Document
      • UNKNOWN

        public static final FileType UNKNOWN
        Unknown type
      • VDX

        public static final FileType VDX
        Microsoft Visio 2003-2010 XML Drawing
      • VIM

        public static final FileType VIM
        Vim source code file format
      • VSD

        public static final FileType VSD
        Microsoft Visio 2003-2010 Drawing
      • VSDX

        public static final FileType VSDX
        Microsoft Visio Drawing
      • VSS

        public static final FileType VSS
        Microsoft Visio 2003-2010 Stencil
      • VST

        public static final FileType VST
        Microsoft Visio 2003-2010 Template
      • WEBMANIFEST

        public static final FileType WEBMANIFEST
        Manifest file includes information about the app
      • XLS

        public static final FileType XLS
        Microsoft Excel 97-2003 Worksheet
      • XLSB

        public static final FileType XLSB
        Microsoft Excel Binary Worksheet
      • XLSM

        public static final FileType XLSM
        Microsoft Excel Macro-Enabled Worksheet
      • XLSX

        public static final FileType XLSX
        Microsoft Excel Worksheet
      • XLT

        public static final FileType XLT
        Microsoft Excel template
      • XLTM

        public static final FileType XLTM
        Microsoft Excel macro-enabled template
      • YAML

        public static final FileType YAML
        Human-readable data-serialization language format
      • YML

        public static final FileType YML
        Human-readable data-serialization language format
    • Method Detail

      • areEquals

        public static boolean areEquals(FileType left,
                        FileType right)

        Operator overload

        Parameters:
        left - Left FileType object.
        right - Right FileType object.
        Returns:
        true if equal
      • areNotEquals

        public static boolean areNotEquals(FileType left,
                           FileType right)

        Operator overload

        Parameters:
        left - Left FileType object.
        right - Right FileType object.
        Returns:
        true if not equal
      • equals

        public final boolean equals(FileType other)

        File type equivalence check

        Parameters:
        other - FileType object
        Returns:
        True if file types are equivalent, false if not
      • equals

        public boolean equals(Object obj)

        Equivalence check with object

        Specified by:
        equals in interface com.aspose.ms.System.IEquatable<FileType>
        Overrides:
        equals in class Object
        Parameters:
        obj - Any object
        Returns:
        True if file types is equivalent, false if not
      • fromFileNameOrExtension

        public static FileType fromFileNameOrExtension(String fileNameOrExtension)

        Return FileType based on file name or extension

        Parameters:
        fileNameOrExtension - File name or extension
      • getExtension

        public String getExtension()

        File extention

      • getFileFormat

        public String getFileFormat()

        File format

      • getSupportedFileTypes

        public static List<FileType> getSupportedFileTypes()

        Get supported file types enumeration

        Returns:
        Enumeration of FileType
      • hashCode

        public int hashCode()

        Get hash code

        Overrides:
        hashCode in class Object
        Returns:
        Hash code
      • toString

        public String toString()

        ToString

        Overrides:
        toString in class Object
        Returns:
        string representation