WebFileType class

WebFileType class

Defines Web documents. Includes the following file types: WebFileType.XmlWebFileType.JsonWebFileType.HtmlWebFileType.HtmWebFileType.MhtWebFileType.MhtmlWebFileType.Chm

Inheritance: WebFileTypeFileTypeEnumeration

The WebFileType type exposes the following members:

Constructors

Constructor Description
init Serialization constructor

Properties

Property Description
file_format The file format
extension The file extension
family The file family
description File type description
UNKNOWN Unknown file type
XML XML stands for Extensible Markup Language that is similar to HTML but different in using tags for defining objects.
Learn more about this file format here.
JSON JSON (JavaScript Object Notation) is an open standard file format for sharing data that uses human-readable text to store and transmit data.
Learn more about this file format here.
HTML HTML (Hyper Text Markup Language) is the extension for web pages created for display in browsers.
Learn more about this file format here.
HTM HTM (Hyper Text Markup Language) is the extension for web pages created for display in browsers.
Learn more about this file format here.
MHT Files with MHTML extension represent a web page archive format that can be created by a number of different applications. The format is known as archive format because it saves the web HTML code and associated resources in a single file.
Learn more about this file format here.
MHTML Files with MHTML extension represent a web page archive format that can be created by a number of different applications. The format is known as archive format because it saves the web HTML code and associated resources in a single file.
Learn more about this file format here.
CHM The CHM file format represents Microsoft HTML help file that consists of a collection of HTML pages. It provides an index for quick accessing the topics and navigation to different parts of the help document.
Learn more about this file format here.

Methods

Method Description
equals Implements Enumeration.equals
compare_to Compares current object to other.
from_filename Returns FileType for specified fileName
from_extension Gets FileType for provided fileExtension
from_stream Returns FileType for provided document stream

See Also