public final class ContentType extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static ContentType |
HTML |
static ContentType |
PDF |
static ContentType |
WORDPERFECT |
static ContentType |
WORDPERFECT_6_0 |
static ContentType |
WORDPERFECT_6_1 |
static ContentType |
XPDF |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
static ContentType |
newContentType(String contentType)
Creates a new content type.
|
String |
toString()
Returns a string representation of the content-type.
|
public static final ContentType HTML
public static final ContentType PDF
public static final ContentType XPDF
public static final ContentType WORDPERFECT
public static final ContentType WORDPERFECT_6_0
public static final ContentType WORDPERFECT_6_1
public static ContentType newContentType(String contentType)
contentType
- the official media type nameCopyright © 2009-2014 Norconex Inc.. All Rights Reserved.