org.apache.myfaces.tobago.internal.util
Class ContentType

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

public class ContentType
extends Object


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

Constructor Detail

ContentType

public ContentType(String contentType)
Method Detail

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