org.apache.myfaces.tobago.util
Class ContentType
java.lang.Object
org.apache.myfaces.tobago.util.ContentType
public class ContentType
- extends Object
ContentType
public ContentType(String contentType)
getPrimaryType
public String getPrimaryType()
getSubType
public String getSubType()
match
public boolean match(ContentType contentType)
toString
public String toString()
- Overrides:
toString
in class Object
valueOf
public static ContentType valueOf(String s)
Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.