1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2009 EDIT
|
4
|
* European Distributed Institute of Taxonomy
|
5
|
* http://www.e-taxonomy.eu
|
6
|
*
|
7
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
8
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
9
|
*/
|
10
|
package eu.etaxonomy.cdm.common.media;
|
11
|
|
12
|
|
13
|
|
14
|
/**
|
15
|
* @author a.kohlbecker
|
16
|
* @date 27.11.2009
|
17
|
*
|
18
|
*/
|
19
|
public enum MimeType {
|
20
|
TIFF ("image/tiff"),
|
21
|
JPEG ("image/jpeg"),
|
22
|
IMAGE ("image"),
|
23
|
UNKNOWN ("unknown"),
|
24
|
PNG ("image/png");
|
25
|
|
26
|
private final String mimeType;
|
27
|
|
28
|
MimeType(String mimeType){
|
29
|
this.mimeType = mimeType;
|
30
|
}
|
31
|
public String getMimeType(){
|
32
|
return mimeType;
|
33
|
}
|
34
|
}
|