Project

General

Profile

Download (990 Bytes) 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.mediaMetaData;
12

    
13
import java.io.IOException;
14
import java.net.URI;
15
import java.util.HashMap;
16
import java.util.Map;
17

    
18
import org.apache.http.HttpException;
19
import org.apache.log4j.Logger;
20

    
21
/**
22
 * 
23
 * @author n.hoffmann
24
 * @created 13.11.2008
25
 * @version 1.0
26
 */
27
public abstract class MediaMetaData {
28
	private static Logger logger = Logger.getLogger(MediaMetaData.class);
29
	protected String formatName, mimeType;
30
	HashMap<String, String> metaData;
31
	
32
	
33
	public abstract void readMetaData(URI mediaUri, Integer timeOut) throws IOException, HttpException;
34
 
35
	public Map<String, String> getMetaData() {
36
		
37
		return metaData;
38
	}
39

    
40
 
41
	
42

    
43

    
44
		
45
	
46
}
(4-4/7)