Daisy Open Source CMS

org.outerj.daisy.textextraction
Interface TextExtractorManager


public interface TextExtractorManager


Method Summary
 String getText(String mimeType, InputStream is)
           
 boolean supportsMimeType(String mimeType)
           
 

Method Detail

getText

String getText(String mimeType,
               InputStream is)
               throws Exception
Parameters:
mimeType - indicates the type of data
is - the input stream to be read, will be closed and buffered for you
Returns:
the extracted text, or null if the mimeType is not supported.
Throws:
Exception

supportsMimeType

boolean supportsMimeType(String mimeType)

Daisy Open Source CMS