railo.commons.io.res
Class ContentTypeImpl
java.lang.Object
railo.commons.io.res.ContentTypeImpl
- All Implemented Interfaces:
- ContentType
public final class ContentTypeImpl
- extends Object
- implements ContentType
APPLICATION_UNKNOW
public static final ContentType APPLICATION_UNKNOW
ContentTypeImpl
public ContentTypeImpl(String type,
String subtype,
String charset)
- Constructor of the class
- Parameters:
type
- subtype
- charset
-
ContentTypeImpl
public ContentTypeImpl(String type,
String subtype)
- Constructor of the class
- Parameters:
type
- subtype
-
ContentTypeImpl
public ContentTypeImpl(InputStream is)
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
- See Also:
Object.equals(java.lang.Object)
toString
public String toString()
- Overrides:
toString
in class Object
- See Also:
Object.toString()
getMimeType
public String getMimeType()
- Returns:
- the mime type
getCharset
public String getCharset()
- Returns:
- the charset
Copyright © 2012 Railo