*/
public Reader extractText(InputStream stream,
String type,
String encoding) throws IOException {
try {
WordExtractor extractor = new WordExtractor();
// This throws raw Exception - not nice
String text = extractor.extractText(stream);
return new StringReader(text);
} catch (Exception e) {
logger.warn("Failed to extract Word text content", e);
return new StringReader("");