Lines Matching refs:subType
46 private String subType; // subtype
58 * @param subType subType
61 public ContentType(String primaryType, String subType,
64 this.subType = subType;
72 * is parsed into its constituents: primaryType, subType
93 // Then "subType" ..
97 subType = tk.getValue();
106 return new ContentType(primaryType,subType,list.copy());
118 * Return the subType.
119 * @return the subType
122 return subType;
133 return primaryType + '/' + subType;
168 * Set the subType. Overrides existing subType
169 * @param subType subType
171 public void setSubType(String subType) {
172 this.subType = subType;
206 if (primaryType == null || subType == null) // need both
210 sb.append(primaryType).append('/').append(subType);
230 * If the <code>subType</code> of either operand is the special
237 * @return true if <code>primaryType</code> and <code>subType</code>
248 if ((subType.charAt(0) == '*') || (sType.charAt(0) == '*'))
251 // Match subType
252 if (!subType.equalsIgnoreCase(sType))
261 * <code>subType</code> </strong>.
268 * If the <code>subType</code> of either operand is the special
275 * @return true if <code>primaryType</code> and <code>subType</code>