createExtractor

abstract suspend fun createExtractor(resource: Resource, mediaType: MediaType): ResourceContentExtractor?

Creates a ResourceContentExtractor instance for the given resource.

Return null if the resource format is not supported.