Unit 'uRESTDWMimeTypes' Package
[Overview][Classes][Index] [#pl_restdataware]

TRESTDWMIMEType

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: uRESTDWMimeTypes.pas line 36

type TRESTDWMIMEType = class(TObject)

protected

  FLoadTypesFromOS: Boolean;

  

  FOnBuildCache: TNotifyEvent;

  

  FMIMEList: TStringList;

  

  procedure BuildDefaultCache; virtual;

  

public

  class function GetMIMEType();

  

  class function GetMIMETypeExt();

  

  procedure AddMimeType();

  

  procedure BuildCache; virtual;

  

  constructor Create(); virtual;

  

  destructor Destroy; override;

  

  function GetFileMIMEType();

  

  function GetDefaultFileExt();

  

  procedure LoadFromStrings();

  

  procedure SaveToStrings();

  

  property OnBuildCache: TNotifyEvent; [rw]

  

  property LoadTypesFromOS: Boolean; [rw]

  

end;

Inheritance

TRESTDWMIMEType

  

|

TObject



CT Web help

CodeTyphon Studio