Class ContentType
- java.lang.Object
-
- org.apache.myfaces.tobago.internal.util.ContentType
-
public class ContentType extends Object
-
-
Constructor Summary
Constructors Constructor Description ContentType(String contentType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPrimaryType()
String
getSubType()
boolean
match(ContentType contentType)
String
toString()
static ContentType
valueOf(String s)
-
-
-
Constructor Detail
-
ContentType
public ContentType(String contentType)
-
-
Method Detail
-
getPrimaryType
public String getPrimaryType()
-
getSubType
public String getSubType()
-
match
public boolean match(ContentType contentType)
-
valueOf
public static ContentType valueOf(String s)
-
-