I am using Apache Tika to detect file types. Somewhere in the code it does:
if (stream.markSupported())
Which returns "true" for a MonitorInputStream. Then it does:
stream.mark(...);
try {
... read(stream);
} finally {
stream.reset();
}
Which should not be an issue as it already asked whether marking is
supported. However, due to "read" of MonitorInputStream closing the
stream, "reset" throws a "java.io.IOException: Stream closed". This is
obviously not good. Any ideas what I should do?
Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]