Project

General

Profile

Download (1.01 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.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
import org.apache.sanselan.ImageReadException;
21

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

    
41
 
42
	
43

    
44

    
45
		
46
	
47
}
(4-4/7)