public interface ContentType extends java.lang.Comparable<ContentType>
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPrimary()
Get the primary segment of the content type.
|
float |
getQuality()
Gets the quality specified for the content type.
|
java.lang.String |
getSecondary()
Get the secondary segment of the content type.
|
int |
getTokenScore()
Returns the token score for the ContentType.
|
java.lang.String |
getType()
Get the type defined in the content type instance.
|
boolean |
isWildCard()
Determines whether the ContentType represents a wildcard.
|
boolean |
matches(java.lang.String type)
Determines whether the ContentType is a match for the provided content type string.
|
boolean matches(java.lang.String type)
type - The content type string that is matched against this instance.float getQuality()
java.lang.String getPrimary()
java.lang.String getSecondary()
java.lang.String getType()
boolean isWildCard()
int getTokenScore()
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"