FileType class

FileType class

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

The FileType type exposes the following members:

Properties

Property Description
file_format File format
extension File extention
UNKNOWN Unknown type
AS ActionScript Programming Language format
AS3 ActionScript Programming Language format
ASM ASM format
BAT Script file in DOS, OS/2 and Microsoft Windows
CMD Script file in DOS, OS/2 and Microsoft Windows
C C-Based Programming Language format
H C-Based header files contain definitions of Functions and Variables
PDF Adobe Portable Document format
DOC Microsoft Word 97-2003 Document
DOCM Microsoft Word Macro-Enabled Document
DOCX Microsoft Word Document
DOT Microsoft Word 97-2003 Template
DOTM Microsoft Word Macro-Enabled Template
DOTX Microsoft Word Template
XLS Microsoft Excel 97-2003 Worksheet
XLT Microsoft Excel template
XLSX Microsoft Excel Worksheet
XLTM Microsoft Excel macro-enabled template
XLSB Microsoft Excel Binary Worksheet
XLSM Microsoft Excel Macro-Enabled Worksheet
POT Microsoft PowerPoint template
POTX Microsoft PowerPoint Template
PPS Microsoft PowerPoint 97-2003 Slide Show
PPSX Microsoft PowerPoint Slide Show
PPTX Microsoft PowerPoint Presentation
PPT Microsoft PowerPoint 97-2003 Presentation
VSDX Microsoft Visio Drawing
VSD Microsoft Visio 2003-2010 Drawing
VSS Microsoft Visio 2003-2010 Stencil
VST Microsoft Visio 2003-2010 Template
VDX Microsoft Visio 2003-2010 XML Drawing
ONE Microsoft OneNote Document
ODT OpenDocument Text
ODP OpenDocument Presentation
OTP OpenDocument Presentation Template
ODS OpenDocument Spreadsheet
OTT OpenDocument Text Template
RTF Rich Text Document
TXT Plain Text Document
CSV Comma Separated Values File
HTML HyperText Markup Language
MHTML Mime HTML
MOBI Mobipocket e-book format
DCM Digital Imaging and Communications in Medicine
DJVU Deja Vu format
DWG Autodesk Design Data Formats
DXF AutoCAD Drawing Interchange
BMP Bitmap Picture
GIF Graphics Interchange Format
JPEG Joint Photographic Experts Group
PNG Portable Network Graphics
SVG Scalar Vector Graphics
EML E-mail Message
EMLX Apple Mail E-mail File
MSG Microsoft Outlook E-mail Message
CAD CAD file format
CPP C-Based Programming Language format
CC C-Based Programming Language format
CXX C-Based Programming Language format
HXX Header Files that are written in the C++ programming language
HH Header information referenced by a C++ source code file
HPP Header Files that are written in the C++ programming language
CMAKE Tool for managing the build process of software
CS CSharp Programming Language format
CSX CSharp script file format
CAKE CSharp cross-platform build automation system format
DIFF Data comparison tool format
PATCH List of differences format
REJ Rejected files format
GROOVY Source code file written in Groovy format
GVY Source code file written in Groovy format
GRADLE Build-automation system format
HAML Markup language for simplified HTML generation
JS JavaScript Programming Language format
ES6 JavaScript standardised scripting language format
MJS Extension for EcmaScript (ES) module files
PAC Proxy Auto-Configuration file for JavaScript function format
JSON Lightweight format for storing and transporting data
BOWERRC Configuration file for package control on the server-side
JSHINTRC JavaScript code quality tool
JSCSRC JavaScript configuration file format
WEBMANIFEST Manifest file includes information about the app
JSMAP JSON file that contains information on how to translate code back to source code
HAR The HTTP Archive format
JAVA Java Programming Language format
LESS Dynamic preprocessor style sheet language format
LOG Logging keeps a registry of events, processes, messages and communication
MAKE Makefile is a file containing a set of directives used by a make build automation tool to generate a target/goal
MK Makefile is a file containing a set of directives used by a make build automation tool to generate a target/goal
MD Markdown Language format
MKD Markdown Language format
MDWN Markdown Language format
MDOWN Markdown Language format
MARKDOWN Markdown Language format
MARKDN Markdown Language format
MDTXT Markdown Language format
MDTEXT Markdown Language format
ML Caml Programming Language format
MLI Caml Programming Language format
OBJC Objective-C Programming Language format
OBJCP Objective-C++ Programming Language format
PHP PHP Programming Language format
PHP4 PHP Programming Language format
PHP5 PHP Programming Language format
PHTML Standard file extension for PHP 2 programs format
CTP CakePHP Template format
PL Perl Programming Language format
PM Perl module format
POD Perl lightweight markup language format
T Perl test file format
PSGI Interface between web servers and web applications and frameworks written in the Perl programming
P6 Perl Programming Language format
PL6 Perl Programming Language format
PM6 Perl module format
NQP Intermediate language used to build the Rakudo Perl 6 compiler
PROP Properties file format
CFG Configuration file used for storing settings
CONF Configuration file used on Unix and Linux based systems
DIR Directory is a location for storing files on computer
PY Python Programming Language format
RPY Python-based file engine to create and run games
PYW Files used in Windows to indicate a script needs to be run
CPY Controller Python Script format
GYP Build automation tool format
GYPI Build automation tool format
PYI Python Interface file format
IPY IPython Script format
RST Lightweight markup language
RB Ruby Programming Language format
ERB Ruby Programming Language format
RJS Ruby Programming Language format
GEMSPEC Developer file that specifies the attributes of a RubyGems
RAKE Ruby build automation tool
RU Rack configuration file format
PODSPEC Ruby build settings format
RBI Ruby Interface file format
SASS Style sheet language format
SCSS Style sheet language format
SCALA Scala Programming Language format
SBT SBT build tool for Scala format
SC Scala worksheet format
SH Script programmed for bash format
BASH Type of interpreter that processes shell commands
BASHRC File determines the behavior of interactive shells
EBUILD Specialized bash script which automates compilation and installation procedures for software packages
SQL Structured Query Language format
DSQL Dynamic Structured Query Language format
VIM Vim source code file format
YAML Human-readable data-serialization language format
YML Human-readable data-serialization language format

Methods

Method Description
from_file_name_or_extension Return FileType based on file name or extension
get_supported_file_types Get supported file types enumeration
equals File type equivalence check

Remarks

Learn more | | | |

See Also