|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MimeType | |
---|---|
org.apache.fulcrum.mimetype | |
org.apache.fulcrum.mimetype.util |
Uses of MimeType in org.apache.fulcrum.mimetype |
---|
Methods in org.apache.fulcrum.mimetype that return MimeType | |
---|---|
MimeType |
MimeTypeService.getMimeContentType(File file)
Gets the MIME content type for a file. |
MimeType |
DefaultMimeTypeService.getMimeContentType(File file)
Gets the MIME content type for a file. |
MimeType |
MimeTypeService.getMimeContentType(String name)
Gets the MIME content type for a named file. |
MimeType |
DefaultMimeTypeService.getMimeContentType(String name)
Gets the MIME content type for a named file. |
MimeType |
MimeTypeService.getMimeContentType(String ext,
String def)
Gets the MIME content type for a file name extension. |
MimeType |
DefaultMimeTypeService.getMimeContentType(String ext,
String def)
Gets the MIME content type for a file name extension. |
Methods in org.apache.fulcrum.mimetype with parameters of type MimeType | |
---|---|
String |
MimeTypeService.getDefaultExtension(MimeType mime)
Gets the default file name extension for a MIME type. |
String |
DefaultMimeTypeService.getDefaultExtension(MimeType mime)
Gets the default file name extension for a MIME type. |
Uses of MimeType in org.apache.fulcrum.mimetype.util |
---|
Fields in org.apache.fulcrum.mimetype.util declared as MimeType | |
---|---|
static MimeType |
MimeType.APPLICATION_OCTET_STREAM
|
static MimeType |
MimeType.APPLICATION_POSTSCRIPT
|
static MimeType |
MimeType.APPLICATION_X_JAVA_AGENT
|
static MimeType |
MimeType.APPLICATION_X_WWW_FORM_URLENCODED
|
static MimeType |
MimeTypeMap.DEFAULT_MIMETYPE
The default MIME type when nothing else is applicable. |
static MimeType |
MimeType.IMAGE_GIF
|
static MimeType |
MimeType.IMAGE_JPEG
|
static MimeType |
MimeType.IMAGE_PNG
|
static MimeType |
MimeType.IMAGE_WBMP
|
static MimeType |
MimeType.MESSAGE_HTTP
|
static MimeType |
MimeType.MULTIPART
|
static MimeType |
MimeType.MULTIPART_FORM_DATA
|
static MimeType |
MimeType.TEXT
|
static MimeType |
MimeType.TEXT_CHTML
|
static MimeType |
MimeType.TEXT_CSS
|
static MimeType |
MimeType.TEXT_HDML
|
static MimeType |
MimeType.TEXT_HTML
A list of well known MIME types. |
static MimeType |
MimeType.TEXT_PLAIN
|
static MimeType |
MimeType.TEXT_WML
|
Methods in org.apache.fulcrum.mimetype.util that return MimeType | |
---|---|
MimeType |
MimeTypeMap.getMimeContentType(File file)
Gets the MIME content type for a file. |
MimeType |
MimeTypeMap.getMimeContentType(String name)
Gets the MIME content type for a named file. |
MimeType |
MimeTypeMap.getMimeContentType(String ext,
String def)
Gets the MIME content type for a file name extension. |
Methods in org.apache.fulcrum.mimetype.util with parameters of type MimeType | |
---|---|
String |
MimeTypeMap.getDefaultExtension(MimeType mime)
Gets the default file name extension for a MIME type. |
int |
MimeType.match(MimeType other)
Compares the specified MIME type to this one and returns a matching level: NO_MATCH=types do not match, MATCH_TYPE=types match, MATCH_SPECIFIC_TYPE=types match exactly, MATCH_SUBTYPE=types match, subtypes match too, MATCH_SPECIFIC_SUBTYPE=types match, subtypes match exactly. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |