|
deegree 2.4 (2010/11/11 10:47 build-27-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.framework.util.MimeTypeMapper
public class MimeTypeMapper
Helper class to check for supported mime types.
| Constructor Summary | |
|---|---|
MimeTypeMapper()
|
|
| Method Summary | |
|---|---|
static boolean |
isImageType(String contentType)
Returns true if the submitted content type is an image type. |
static boolean |
isKnownImageType(String contentType)
Returns true if the submitted image content type is known by deegree. |
static boolean |
isKnownMimeType(String contentType)
Returns true if the submitted content type is known by the deegree OWS implementations. |
static boolean |
isKnownOGCType(String contentType)
|
static boolean |
isOGCType(String contentType)
Returns true if the submitted content type is defined by the OGC. |
static String |
toMimeType(String contentType)
maps a 'simple' format name like gif, jpg or text to the corresponding mime type --> e.g. image/gif, image/jpeg or text/plain |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MimeTypeMapper()
| Method Detail |
|---|
public static boolean isOGCType(String contentType)
contentType - mime type to check
public static boolean isImageType(String contentType)
contentType - mime type to check
public static boolean isKnownImageType(String contentType)
contentType - mime type to check
public static boolean isKnownMimeType(String contentType)
contentType - mime type to check
public static boolean isKnownOGCType(String contentType)
contentType -
public static String toMimeType(String contentType)
contentType -
|
deegree 2.4 (2010/11/11 10:47 build-27-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org