Project

General

Profile

Download (1.21 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
	@SuppressWarnings("unused")
20
	private static Logger logger = LogManager.getLogger(MediaInfo.class);
21

    
22
	private String formatName;
23
	private String mimeType;
24
	private long length;
25
	private String suffix;
26

    
27

    
28
	public void setMimeType(String mimeType) {
29
		this.mimeType = mimeType;
30
	}
31
	public String getMimeType() {
32
		return mimeType;
33
	}
34

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

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

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

    
56
}
(3-3/4)