public final class ContentTypeImpl extends Object implements ContentType
Modifier and Type | Field and Description |
---|---|
static ContentType |
APPLICATION_UNKNOW |
Constructor and Description |
---|
ContentTypeImpl(InputStream is) |
ContentTypeImpl(String type,
String subtype)
Constructor of the class
|
ContentTypeImpl(String type,
String subtype,
String charset)
Constructor of the class
|
public static final ContentType APPLICATION_UNKNOW
public ContentTypeImpl(String type, String subtype, String charset)
type
- subtype
- charset
- public ContentTypeImpl(String type, String subtype)
type
- subtype
- public ContentTypeImpl(InputStream is)
public String getMimeType()
getMimeType
in interface ContentType
public String getCharset()
getCharset
in interface ContentType
Copyright © 2015 Lucee