public class ContentType extends Object
Constructor and Description |
---|
ContentType(String contentType) |
Modifier and Type | Method and Description |
---|---|
String |
getPrimaryType() |
String |
getSubType() |
boolean |
match(ContentType contentType) |
String |
toString() |
static ContentType |
valueOf(String s) |
public ContentType(String contentType)
public String getPrimaryType()
public String getSubType()
public boolean match(ContentType contentType)
public static ContentType valueOf(String s)
Copyright © 2002-2018 The Apache Software Foundation. All Rights Reserved.