Project

General

Profile

Download (1.14 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
 * Copyright (C) 2007 EDIT
3
 * European Distributed Institute of Taxonomy
4
 * http://www.e-taxonomy.eu
5
 *
6
 * The contents of this file are subject to the Mozilla Public License Version 1.1
7
 * See LICENSE.TXT at the top of this package for the full license terms.
8
 */
9
package eu.etaxonomy.cdm.common.media;
10

    
11
import org.apache.logging.log4j.LogManager;
12
import org.apache.logging.log4j.Logger;
13

    
14
/**
15
 * @author n.hoffmann
16
 * @since 13.11.2008
17
 */
18
public abstract class MediaInfo {
19

    
20
	@SuppressWarnings("unused")
21
	private static Logger logger = LogManager.getLogger();
22

    
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
	public String getMimeType() {
33
		return mimeType;
34
	}
35

    
36
	public void setFormatName(String formatName) {
37
		this.formatName = formatName;
38
	}
39
	public String getFormatName() {
40
		return formatName;
41
	}
42

    
43
	public void setLength(long length) {
44
		this.length = length;
45
	}
46
	public long getLength() {
47
		return length;
48
	}
49

    
50
	public void setSuffix(String suffix) {
51
		this.suffix = suffix;
52
	}
53
	public String getSuffix() {
54
		return suffix;
55
	}
56

    
57
}
(3-3/4)