We are working on making com.atlassian.confluence.util.io. InputStreamSource public API again. That should help you implement the AttachmentTextExtractor.
We will let you know once the change is available in the future 9.0 EAP release.
Thanks,
Mahesh