org.apache.myfaces.tobago.util
Class ContentType
java.lang.Object
org.apache.myfaces.tobago.util.ContentType
public class ContentType
- extends java.lang.Object
Constructor Summary |
ContentType(java.lang.String contentType)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ContentType
public ContentType(java.lang.String contentType)
getPrimaryType
public java.lang.String getPrimaryType()
getSubType
public java.lang.String getSubType()
match
public boolean match(ContentType contentType)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
valueOf
public static ContentType valueOf(java.lang.String s)
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.