Project

General

Profile

Download (1.17 KB) Statistics
| Branch: | Tag: | Revision:
1
// $Id$
2
/**
3
 * Copyright (C) 2007 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

    
11
package eu.etaxonomy.cdm.common.media;
12

    
13
import org.apache.log4j.Logger;
14

    
15
/**
16
 * 
17
 * @author n.hoffmann
18
 * @created 13.11.2008
19
 * @version 1.0
20
 */
21
public abstract class MediaInfo {
22
	private static Logger logger = Logger.getLogger(MediaInfo.class);
23
	private String formatName;
24
	private String mimeType;
25
	private long length;
26
	private String suffix;
27
	
28

    
29
	public void setMimeType(String mimeType) {
30
		this.mimeType = mimeType;
31
	}
32

    
33
	public String getMimeType() {
34
		return mimeType;
35
	}
36

    
37
	public void setFormatName(String formatName) {
38
		this.formatName = formatName;
39
	}
40

    
41
	public String getFormatName() {
42
		return formatName;
43
	}
44

    
45
	public void setLength(long length) {
46
		this.length = length;
47
	}
48

    
49
	public long getLength() {
50
		return length;
51
	}
52

    
53
	public void setSuffix(String suffix) {
54
		this.suffix = suffix;
55
	}
56

    
57
	public String getSuffix() {
58
		return suffix;
59
	}
60
	
61
}
(3-3/4)