Package com.sun.tools.xjc.util
Class MimeTypeRange
java.lang.Object
com.sun.tools.xjc.util.MimeTypeRange
- Author:
- Kohsuke Kawaguchi
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static MimeTypeRange
merge
(Collection<MimeTypeRange> types) Creates a range by merging all the given types.static List<MimeTypeRange>
toString()
-
Field Details
-
majorType
-
subType
-
parameters
-
q
public final float qEach 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. -
ALL
-
-
Constructor Details
-
MimeTypeRange
- Throws:
ParseException
-
-
Method Details
-
parseRanges
- Throws:
ParseException
-
toMimeType
- Throws:
MimeTypeParseException
-
toString
-
merge
Creates a range by merging all the given types. -
main
- Throws:
ParseException
-