Classe TMimeTable

Unit

Declaração

type TMimeTable = class(TObject)

Descrição

Hierarquia

Visão Geral

Campos

Protected FLoadTypesFromOS: boolean;
Protected FOnBuildCache: TNotifyEvent;
Protected FMIMEList: TStringList;

Métodos

Protected procedure BuildDefaultCache; virtual;
Public procedure AddMimeType(const Ext, MIMEType: string; const ARaiseOnError: boolean = True);
Public procedure BuildCache; virtual;
Public constructor Create(const AutoFill: boolean = True); reintroduce; virtual;
Public destructor Destroy; override;
Public function GetFileMIMEType(const AFileName: string): string;
Public function GetDefaultFileExt(const MIMEType: string): string;
Public procedure LoadFromStrings(const AStrings: TStringList);
Public procedure SaveToStrings(const AStrings: TStringList);

Propriedades

Public property OnBuildCache: TNotifyEvent read FOnBuildCache write FOnBuildCache;
Public property LoadTypesFromOS: boolean read FLoadTypesFromOS write FLoadTypesFromOS;

Descrição

Campos

Protected FLoadTypesFromOS: boolean;
 
Protected FOnBuildCache: TNotifyEvent;
 
Protected FMIMEList: TStringList;
 

Métodos

Protected procedure BuildDefaultCache; virtual;
 
Public procedure AddMimeType(const Ext, MIMEType: string; const ARaiseOnError: boolean = True);
 
Public procedure BuildCache; virtual;
 
Public constructor Create(const AutoFill: boolean = True); reintroduce; virtual;
 
Public destructor Destroy; override;
 
Public function GetFileMIMEType(const AFileName: string): string;
 
Public function GetDefaultFileExt(const MIMEType: string): string;
 
Public procedure LoadFromStrings(const AStrings: TStringList);
 
Public procedure SaveToStrings(const AStrings: TStringList);
 

Propriedades

Public property OnBuildCache: TNotifyEvent read FOnBuildCache write FOnBuildCache;
 
Public property LoadTypesFromOS: boolean read FLoadTypesFromOS write FLoadTypesFromOS;
 

Gerado por PasDoc 0.16.0.