Revision ec97a876
Added by Niels Hoffmann over 13 years ago
cdmlib-commons/src/main/java/eu/etaxonomy/cdm/common/mediaMetaData/MetaDataFactory.java | ||
---|---|---|
12 | 12 |
import java.io.IOException; |
13 | 13 |
import java.net.URI; |
14 | 14 |
|
15 |
import org.apache.http.HttpException; |
|
16 |
|
|
15 | 17 |
|
16 | 18 |
/** |
17 | 19 |
* @author k.luther |
... | ... | |
31 | 33 |
} |
32 | 34 |
return instance; |
33 | 35 |
} |
34 |
public MediaMetaData readMediaData(URI uri, MimeType mimetype, Integer timeOut) throws IOException{ |
|
36 |
public MediaMetaData readMediaData(URI uri, MimeType mimetype, Integer timeOut) throws IOException, HttpException{
|
|
35 | 37 |
//MediaMetaData metaData = MediaMetaData.newInstance(); |
36 | 38 |
//MimeType mimeType = metaData.readMediaInfo(uri); |
37 | 39 |
switch (mimetype){ |
Also available in: Unified diff
ImageMetadata is now using UriUtils