com.adobe.livecycle.docconverter.client
Class DocConverterServiceClient

java.lang.Object
  extended by com.adobe.livecycle.docconverter.client.DocConverterServiceClient

public class DocConverterServiceClient
extends java.lang.Object

Enables you to create a Java object that converts a PDF document to a PDF/A document. To see this type used in a code example, see the Converting documents to PDF/A documents using the Java API quick start in Programming with Adobe Experience Manager forms.


Constructor Summary
DocConverterServiceClient(ServiceClientFactory serviceClientFactory)
          A constructor that creates a DocConverterServiceClient client.
 
Method Summary
 PDFAValidationResult isPDFA(Document pdf, PDFAValidationOptionSpec options)
          Determines whether the input PDF document is a PDF/A document.
 PDFAConversionResult toPDFA(Document pdf, PDFAConversionOptionSpec options)
          Converts a given PDF document to a PDF/A document using the specified options.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocConverterServiceClient

public DocConverterServiceClient(ServiceClientFactory serviceClientFactory)
A constructor that creates a DocConverterServiceClient client.

Parameters:
serviceClientFactory - The service client factory needed to create an instance of the DocConverterServiceClient instance.
Method Detail

toPDFA

public PDFAConversionResult toPDFA(Document pdf,
                                   PDFAConversionOptionSpec options)
                            throws ConversionException
Converts a given PDF document to a PDF/A document using the specified options.

To see this type used in a code example, see the Converting documents to PDF/A documents using the Java API quick start in Programming with Adobe Experience Manager forms.

Parameters:
pdf - The PDF document to convert.
options - The conversion options.
Returns:
A PDFAConversionResult object containing the converted document and the job log.
Throws:
ConversionException - If the conversion failed.

isPDFA

public PDFAValidationResult isPDFA(Document pdf,
                                   PDFAValidationOptionSpec options)
                            throws ValidationException
Determines whether the input PDF document is a PDF/A document.

To see this type used in a code example, see the Determining PDF/A compliancy using the Java API quick start in Programming with Adobe Experience Manager forms.

Parameters:
pdf - The PDF document that is used to determine PDF/A compliancy.
options - The conversion options.
Returns:
A PDFAValidationResult that contains the result and the job log.
Throws:
ValidationException - if the conversion failed