}
@Deprecated
public String getContentAsText(String mimeType, InputStream is) throws Exception
{
DocumentReader reader = readers_.get(mimeType.toLowerCase());
if (reader != null)
return reader.getContentAsText(is);
throw new Exception("Cannot handle the document type: " + mimeType);
}