When perform OCR on pdf using PDF tool API it gives output in PDF only. How can i get output in .txt I'm using PDF Tool API for OCR. below is the code. /* * Copyright 2019 Adobe * All Rights Reserved. * * NOTICE: Adobe permits you to use, modify, and distribute this file in * accordance with the terms of the Adobe license agreement accompanying * it. If you have received this file from a source other than Adobe, * then your use, modification, or distribution of it requires the prior * written permission of Adobe. */package com.journaldev.bootifulmongo.adobe;/** * This sample illustrates how to perform OCR operation on a PDF file and convert it into a searchable PDF file. * <p> * Note that OCR operation on a PDF file results in a PDF file. * <p> * Refer to README.md for instructions on how to run the samples. */public class OcrPDF { // Initialize the logger. private static final Logger LOGGER = LoggerFactory.getLogger(OcrPDF.class); public static void main(String[] args) { try { // Initial setup, create credentials instance.