setAcceptedDocumentTypes

Sets the accepted document data types. The extractor will only extract documents of these types.

Parameters

types

The array of document data types that will be extracted.