|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.tools.MimeTypeMapper
Constructor Summary | |
MimeTypeMapper()
|
Method Summary | |
static boolean |
isImageType(java.lang.String contentType)
returns true if the submitted content type is an image type |
static boolean |
isKnownImageType(java.lang.String contentType)
returns true if the submitted image content type is known by the deegree implementations |
static boolean |
isKnownMimeType(java.lang.String contentType)
returns true if the submitted content type is known by the deegree OWS implementations |
static boolean |
isOGCType(java.lang.String contentType)
returns true if the submitted content type is defined by the OGC |
static java.lang.String |
toMimeType(java.lang.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(java.lang.String contentType)
contentType
-
public static boolean isImageType(java.lang.String contentType)
contentType
-
public static boolean isKnownImageType(java.lang.String contentType)
contentType
-
public static boolean isKnownMimeType(java.lang.String contentType)
contentType
-
public static java.lang.String toMimeType(java.lang.String contentType)
contentType
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |