MediaTypeDetector Class
Provides the base class for media type detectors.
Inheritance Hierarchy
SystemObject
  GroupDocs.Parser.Detectors.MediaTypeMediaTypeDetector
    More...

Namespace: GroupDocs.Parser.Detectors.MediaType
Assembly: GroupDocs.Parser (in GroupDocs.Parser.dll) Version: 19.5
Syntax
public abstract class MediaTypeDetector

The MediaTypeDetector type exposes the following members.

Constructors
  NameDescription
Protected methodMediaTypeDetector
Initializes a new instance of the MediaTypeDetector class
Methods
  NameDescription
Protected methodCheckMediaType
Detects whether the mediaType is supported by the detector.
Public methodDetect(Stream)
Detects the media type by the content of the stream.
Public methodDetect(String)
Detects the media type by the fileName.
Public methodDetect(Stream, LoadOptions)
Detects the media type by the content of the stream.
Protected methodDetectByContent(Stream) Obsolete.
Detects the media type by the content of the stream.
Protected methodDetectByContent(Stream, LoadOptions)
Detects the media type by the content of the stream.
Protected methodDetectByExt
Detects the media type by the ext.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSupports
Detects whether the mediaType is supported by the detector.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also
Inheritance Hierarchy
SystemObject
  GroupDocs.Parser.Detectors.MediaTypeMediaTypeDetector
    GroupDocs.Parser.Detectors.MediaTypeCellsMediaTypeDetector
    GroupDocs.Parser.Detectors.MediaTypeChmMediaTypeDetector
    GroupDocs.Parser.Detectors.MediaTypeCompositeMediaTypeDetector
    GroupDocs.Parser.Detectors.MediaTypeCsvMediaTypeDetector
    GroupDocs.Parser.Detectors.MediaTypeEmailMediaTypeDetector
    GroupDocs.Parser.Detectors.MediaTypeEpubMediaTypeDetector
    GroupDocs.Parser.Detectors.MediaTypeFictionBookMediaTypeDetector
    GroupDocs.Parser.Detectors.MediaTypeNoteMediaTypeDetector
    GroupDocs.Parser.Detectors.MediaTypePdfMediaTypeDetector
    GroupDocs.Parser.Detectors.MediaTypePersonalStorageMediaTypeDetector
    GroupDocs.Parser.Detectors.MediaTypeSlidesMediaTypeDetector
    GroupDocs.Parser.Detectors.MediaTypeWordsMediaTypeDetector
    GroupDocs.Parser.Detectors.MediaTypeZipMediaTypeDetector