Project

General

Profile

Download (1.02 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
	
27

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

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

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

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

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

    
48
	public long getLength() {
49
		return length;
50
	}
51
	
52
}
(3-3/4)