added metadata-extractor-2.6.2.jar to eclipse classpath, removed old lib

pull/1/head
Michael Peter Christen 12 years ago
parent 3760e2616b
commit c4538d8d91

@ -26,7 +26,6 @@
<classpathentry kind="lib" path="lib/jakarta-oro-2.0.8.jar"/>
<classpathentry kind="lib" path="lib/mysql-connector-java-5.1.12-bin.jar"/>
<classpathentry kind="lib" path="lib/jcifs-1.3.15.jar"/>
<classpathentry kind="lib" path="lib/metadata-extractor-2.4.0-beta-1.jar"/>
<classpathentry kind="lib" path="lib/apache-mime4j-0.6.jar"/>
<classpathentry kind="lib" path="lib/commons-fileupload-1.2.2.jar" sourcepath="/Users/admin/.m2/repository/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2-sources.jar"/>
<classpathentry kind="lib" path="lib/json-simple-1.1.jar"/>
@ -71,6 +70,7 @@
<classpathentry kind="lib" path="lib/solr-core-4.3.0.jar"/>
<classpathentry kind="lib" path="lib/solr-solrj-4.3.0.jar"/>
<classpathentry kind="lib" path="lib/noggit-0.5.jar"/>
<classpathentry kind="lib" path="lib/metadata-extractor-2.6.2.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="lib" path="lib/icu4j-core.jar"/>
<classpathentry kind="lib" path="lib/htmllexer.jar"/>

@ -1,16 +0,0 @@
/*
* This is public domain software - that is, you can do whatever you want
* with it, and include it software that is licensed under the GNU or the
* BSD license, or whatever other licence you choose, including proprietary
* closed source licenses. I do ask that you leave this header in tact.
*
* If you make modifications to this code that you think would benefit the
* wider community, please send me a copy and I'll post it on my site.
*
* If you make use of this code, I'd appreciate hearing about it.
* metadata_extractor [at] drewnoakes [dot] com
* Latest version of this software kept at
* http://drewnoakes.com/
*
* Created by Darren Salomons & Drew Noakes.
*/

@ -140,12 +140,10 @@ public class genericImageParser extends AbstractParser implements Parser {
// alternative to above: to read all included jpeg tags and metadata
// final Metadata metadata = JpegMetadataReader.readMetadata(new ByteArrayInputStream(b));
@SuppressWarnings("unchecked")
final Iterator<Directory> directories = metadata.getDirectories().iterator();
final HashMap<String, String> props = new HashMap<String, String>();
while (directories.hasNext()) {
final Directory directory = directories.next();
@SuppressWarnings("unchecked")
final Iterator<Tag> tags = directory.getTags().iterator();
while (tags.hasNext()) {
final Tag tag = tags.next();

Loading…
Cancel
Save