Cell API
Docs
GitHub
Preparing search index...
@celljs/core
common
MimeType
Class MimeType
Index
Constructors
constructor
Methods
build
String
check
Parameters
equals
equals
Type
And
Subtype
get
Charset
get
Parameter
get
Parameters
get
Subtype
get
Subtype
Suffix
get
Type
includes
is
Compatible
With
is
Concrete
is
Less
Specific
is
More
Specific
is
Present
In
is
Wildcard
Subtype
is
Wildcard
Type
to
String
unquote
value
Of
Constructors
constructor
new
MimeType
(
type
:
string
,
subtype
?:
string
,
parameters
?:
Map
<
string
,
string
>
,
)
:
MimeType
Parameters
type
:
string
subtype
:
string
= MimeType.WILDCARD_TYPE
Optional
parameters
:
Map
<
string
,
string
>
Returns
MimeType
Methods
Protected
build
String
buildString
()
:
string
Returns
string
Protected
check
Parameters
checkParameters
(
parameter
:
string
,
value
:
string
)
:
void
Parameters
parameter
:
string
value
:
string
Returns
void
equals
equals
(
other
:
unknown
)
:
boolean
Parameters
other
:
unknown
Returns
boolean
equals
Type
And
Subtype
equalsTypeAndSubtype
(
other
?:
MimeType
)
:
boolean
Parameters
Optional
other
:
MimeType
Returns
boolean
get
Charset
getCharset
()
:
string
|
undefined
Returns
string
|
undefined
get
Parameter
getParameter
(
name
:
string
)
:
string
|
undefined
Parameters
name
:
string
Returns
string
|
undefined
get
Parameters
getParameters
()
:
Map
<
string
,
string
>
Returns
Map
<
string
,
string
>
get
Subtype
getSubtype
()
:
string
Returns
string
get
Subtype
Suffix
getSubtypeSuffix
()
:
string
|
undefined
Returns
string
|
undefined
get
Type
getType
()
:
string
Returns
string
includes
includes
(
other
?:
MimeType
)
:
boolean
Parameters
Optional
other
:
MimeType
Returns
boolean
is
Compatible
With
isCompatibleWith
(
other
?:
MimeType
)
:
boolean
Parameters
Optional
other
:
MimeType
Returns
boolean
is
Concrete
isConcrete
()
:
boolean
Returns
boolean
is
Less
Specific
isLessSpecific
(
other
:
MimeType
)
:
boolean
Parameters
other
:
MimeType
Returns
boolean
is
More
Specific
isMoreSpecific
(
other
:
MimeType
)
:
boolean
Parameters
other
:
MimeType
Returns
boolean
is
Present
In
isPresentIn
(
mimeTypes
:
MimeType
[]
)
:
boolean
Parameters
mimeTypes
:
MimeType
[]
Returns
boolean
is
Wildcard
Subtype
isWildcardSubtype
()
:
boolean
Returns
boolean
is
Wildcard
Type
isWildcardType
()
:
boolean
Returns
boolean
to
String
toString
()
:
string
Returns
string
Protected
unquote
unquote
(
s
:
string
)
:
string
Parameters
s
:
string
Returns
string
Static
value
Of
valueOf
(
value
:
string
)
:
MimeType
Parameters
value
:
string
Returns
MimeType
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
build
String
check
Parameters
equals
equals
Type
And
Subtype
get
Charset
get
Parameter
get
Parameters
get
Subtype
get
Subtype
Suffix
get
Type
includes
is
Compatible
With
is
Concrete
is
Less
Specific
is
More
Specific
is
Present
In
is
Wildcard
Subtype
is
Wildcard
Type
to
String
unquote
value
Of
Docs
GitHub
Cell API
Loading...