Link

Can BuildVu convert more than one file at a time?

Yes. BuildVu is able to perform multiple conversions at the same time. As the conversion method handles one file at a time you will need to call the methods concurrently. There are several approaches you can take to do this.

  1. Starting each conversion from the command line simultaneously.
  2. Starting each conversion in a Thread will allow multiple conversions to take place.
    This can be done using a thread pool and a method to submit conversions.
    final ExecutorService pool = Executors.newFixedThreadPool(10);  
    public void convertFile(final File pdfFile, final File outputDirectory, final HTMLConversionOptions htmlConversionOptions, final OutputModeOptions outputModeOptions, final String password) {  
        pool.submit(() -> {  
            final PDFtoHTML5Converter converter = new PDFtoHTML5Converter(pdfFile, outputDirectory, htmlConversionOptions, outputModeOptions);  
            if (password != null) { //optional password  
                converter.setPassword(password);  
            }  
            try {  
                converter.convert();  
            } catch (final PdfException e) {  
                System.out.println(e.getMessage());  
            }  
        });  
    }  
    
  3. Use the BuildVu Microservice to deploy BuildVu to an App Server or a Cloud platform and send concurrent conversions via a client.

What's included in your BuildVu trial?

  • Access to download the SDK and run it locally.
  • Access to the cloud trial to convert documents in the IDR cloud.
  • Access to the Docker image to set up your own trial server in the cloud.
  • Communicate with IDR developers to ask questions & get expert advice.
  • Plenty of time to experiment and build a proof of concept.
  • Over 100 articles to help you get started and learn about BuildVu.
  • An exceptional PDF to HTML converter that took over 20 years to build!

Start Your Free Trial