| Modifier and Type | Field and Description |
|---|---|
| public static final MimeTypeRange | |
| public final String | |
| public final Map | |
| public final float | q
Each media-range MAY be followed by one or more accept-params, beginning with the "q" parameter for indicating a relative quality factor. |
| public final String |
| Access | Constructor and Description |
|---|---|
| public | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static MimeTypeRange | |
| public static void | |
| public static MimeTypeRange | |
| public static List | |
| public MimeType | |
| public String |
| ALL | back to summary |
|---|---|
| public static final MimeTypeRange ALL | |
| majorType | back to summary |
|---|---|
| public final String majorType | |
| parameters | back to summary |
|---|---|
| public final Map<String, String> parameters | |
| q | back to summary |
|---|---|
| public final float q Each media-range MAY be followed by one or more accept-params, beginning with the "q" parameter for indicating a relative quality factor. The first "q" parameter (if any) separates the media-range parameter(s) from the accept-params. Quality factors allow the user or user agent to indicate the relative degree of preference for that media-range, using the qvalue scale from 0 to 1 (section 3.9). The default value is q=1. | |
| subType | back to summary |
|---|---|
| public final String subType | |
| MimeTypeRange | back to summary |
|---|---|
| public MimeTypeRange(String s) throws ParseException | |
| MimeTypeRange | back to summary |
|---|---|
private MimeTypeRange(StringCutter cutter) throws ParseException
| |
| create | back to summary |
|---|---|
| private static MimeTypeRange create(String s) Used only to produce the static constants within this class. | |
| main | back to summary |
|---|---|
| public static void main(String[] args) throws ParseException | |
| merge | back to summary |
|---|---|
| public static MimeTypeRange merge(Collection<MimeTypeRange> types) Creates a range by merging all the given types. | |
| parseRanges | back to summary |
|---|---|
| public static List | |
| toMimeType | back to summary |
|---|---|
| public MimeType toMimeType() throws MimeTypeParseException | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |