A parsed language header.
Delivers a more direct access to the individual elements of the header it represents
package |
Default |
---|
__construct()
country() : string
deprecated | |
---|---|
string
variant
isMatchedBy( $arg0) : boolean
ParsedHeaderValue
boolean
true if this header represents a subset of matchTry, otherwise, false
isPermitted() : boolean
boolean
language() : string
deprecated | |
---|---|
string
language
parameter( $arg0) : string
string
string
parameters() : array
Note: The q
parameter is never present.
array
Unmodifiable Map of parameters of this header value
rawValue() : string
string
subtag( $arg0 = null) : string
subtag()
A subtag of this language header.
param $level [integer] subtag($level)
integer
string
The language subtag
subtagCount() : integer
integer
the number of subtags this value has
tag() : string
string
The language tag
value() : string
string
variant() : string
deprecated | |
---|---|
string
variant
weight() : float
float
weightedOrder() : integer
integer
DEFAULT_WEIGHT
var |
php文件只是为了写代码方便,常量的实际值请参考原java文件 |
---|