LibreOffice Module svl (master) 1
Static Public Member Functions | List of all members
INetContentTypes Class Reference

#include <inettype.hxx>

Static Public Member Functions

static INetContentType GetContentType (OUString const &rTypeName)
 
static OUString GetContentType (INetContentType eTypeID)
 
static INetContentType GetContentType4Extension (OUString const &rExtension)
 
static INetContentType GetContentTypeFromURL (std::u16string_view aURL)
 
static bool GetExtensionFromURL (std::u16string_view rURL, OUString &rExtension)
 
static bool parse (OUString const &rMediaType, OUString &rType, OUString &rSubType, INetContentTypeParameterList *pParameters=nullptr)
 

Detailed Description

Definition at line 243 of file inettype.hxx.

Member Function Documentation

◆ GetContentType() [1/2]

OUString INetContentTypes::GetContentType ( INetContentType  eTypeID)
static

◆ GetContentType() [2/2]

INetContentType INetContentTypes::GetContentType ( OUString const &  rTypeName)
static

◆ GetContentType4Extension()

INetContentType INetContentTypes::GetContentType4Extension ( OUString const &  rExtension)
static

Definition at line 301 of file inettype.cxx.

References CONTENT_TYPE_APP_OCTSTREAM, and SAL_N_ELEMENTS.

Referenced by GetContentTypeFromURL().

◆ GetContentTypeFromURL()

INetContentType INetContentTypes::GetContentTypeFromURL ( std::u16string_view  aURL)
static

◆ GetExtensionFromURL()

bool INetContentTypes::GetExtensionFromURL ( std::u16string_view  rURL,
OUString &  rExtension 
)
static

Definition at line 396 of file inettype.cxx.

References i.

Referenced by GetContentTypeFromURL().

◆ parse()

bool INetContentTypes::parse ( OUString const &  rMediaType,
OUString &  rType,
OUString &  rSubType,
INetContentTypeParameterList pParameters = nullptr 
)
static

Definition at line 421 of file inettype.cxx.

References p, INetMIME::scanContentType(), and t.

Referenced by GetContentType().


The documentation for this class was generated from the following files: