org.apache.myfaces.tobago.util
Class ContentType

java.lang.Object
  extended by org.apache.myfaces.tobago.util.ContentType

public class ContentType
extends java.lang.Object


Constructor Summary
ContentType(java.lang.String contentType)
           
 
Method Summary
 java.lang.String getPrimaryType()
           
 java.lang.String getSubType()
           
 boolean match(ContentType contentType)
           
 java.lang.String toString()
           
static ContentType valueOf(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContentType

public ContentType(java.lang.String contentType)
Method Detail

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-2013 The Apache Software Foundation. All Rights Reserved.