| Package | Description |
|---|---|
| org.linkeddatafragments.util |
| Modifier and Type | Method and Description |
|---|---|
protected static MIMEParse.ParseResults |
MIMEParse.parseMediaRange(String range)
Carves up a media range and returns a ParseResults.
|
protected static MIMEParse.ParseResults |
MIMEParse.parseMimeType(String mimeType)
Carves up a mime-type and returns a ParseResults object
For example, the media range 'application/xhtml;q=0.5' would get parsed
into:
('application', 'xhtml', {'q', '0.5'})
|
| Modifier and Type | Method and Description |
|---|---|
protected static MIMEParse.FitnessAndQuality |
MIMEParse.fitnessAndQualityParsed(String mimeType,
Collection<MIMEParse.ParseResults> parsedRanges)
Find the best match for a given mimeType against a list of media_ranges
that have already been parsed by MimeParse.parseMediaRange().
|
protected static float |
MIMEParse.qualityParsed(String mimeType,
Collection<MIMEParse.ParseResults> parsedRanges)
Find the best match for a given mime-type against a list of ranges that
have already been parsed by parseMediaRange().
|
Copyright © 2022. All rights reserved.