Project

General

Profile

Download (1.2 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
	@SuppressWarnings("unused")
23
	private static Logger logger = Logger.getLogger(MediaInfo.class);
24
	private String formatName;
25
	private String mimeType;
26
	private long length;
27
	private String suffix;
28
	
29

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

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

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

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

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

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

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

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