Hi Annie,

[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/Users/annbryant/TIKA/tika/tika-parsers/src/main/java/org/apache/tika/parser/mat/MatParser.java:[69,23]
cannot find symbol
symbol  : constructor
MatFileReader(org.apache.tika.io.CloseShieldInputStream)
location: class com.jmatio.io.MatFileReader

You're trying to create a com.jmatio.io.MatFileReader passing an InputStream while the constructor needs something else (a java.io.File). TikaInputStream supports spooling InputStreams to a temp file so this might be the way to go. Have a look at org.apache.tika.parser.jpeg.JpegParser#parse and how it passes a File reference to the ImageMetadataExtractor.

Cheers
Matthias

Reply via email to