| Package | Description | 
|---|---|
| com.adobe.platform.operation.io | 
 Contains the classes for providing input or receiving the output of an  
Operation. | 
| com.adobe.platform.operation.pdfops | 
 Contains the classes for operations that generate or transform PDF files. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static FileRef | 
FileRef.createFromLocalFile(String localSource)
Creates a FileRef instance from a local file path where the media type can be inferred from the file extension. 
 | 
static FileRef | 
FileRef.createFromLocalFile(String localSource,
                   String mediaType)
Creates a FileRef instance from a local file path with an explicitly specified media type. 
 | 
static FileRef | 
FileRef.createFromStream(InputStream inputStream,
                String mediaType)
Creates a FileRef instance from an input stream using the specified media type. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
FileRef | 
DeletePagesOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting PDF file. 
 | 
FileRef | 
LinearizePDFOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting PDF file. 
 | 
FileRef | 
ReorderPagesOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting PDF file. 
 | 
FileRef | 
ReplacePagesOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting PDF file. 
 | 
FileRef | 
ExportPDFOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting file. 
 | 
FileRef | 
CreatePDFOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting PDF file. 
 | 
FileRef | 
OCROperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting PDF file. 
 | 
FileRef | 
CombineFilesOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting file. 
 | 
FileRef | 
RotatePagesOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting PDF file. 
 | 
FileRef | 
InsertPagesOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting PDF file. 
 | 
FileRef | 
CompressPDFOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting PDF file. 
 | 
FileRef | 
ProtectPDFOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting PDF file. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
CombineFilesOperation.addInput(FileRef sourceFileRef)
Specifies a PDF file (media type "application/pdf") to be combined with other files. 
 | 
void | 
CombineFilesOperation.addInput(FileRef sourceFileRef,
        PageRanges pageRanges)
Specifies particular pages of a PDF file (media type "application/pdf") to be combined with other files. 
 | 
void | 
ReplacePagesOperation.addPagesForReplace(FileRef inputFile,
                  int basePageToReplace)
Adds all the pages of the input PDF file for replacing the page of the base PDF file. 
 | 
void | 
ReplacePagesOperation.addPagesForReplace(FileRef inputFile,
                  PageRanges pageRanges,
                  int basePageToReplace)
Adds the specified pages of the input PDF file for replacing the page of the base PDF file. 
 | 
void | 
InsertPagesOperation.addPagesToInsertAt(FileRef inputFile,
                  int basePage)
Adds all the pages of the input PDF file to be inserted at the specified page of the base PDF file. 
 | 
void | 
InsertPagesOperation.addPagesToInsertAt(FileRef inputFile,
                  PageRanges pageRanges,
                  int basePage)
Adds the specified pages of the input PDF file to be inserted at the specified page of the base PDF file 
 | 
void | 
ReplacePagesOperation.setBaseInput(FileRef sourceFileRef)
Sets the base input file. 
 | 
void | 
InsertPagesOperation.setBaseInput(FileRef sourceFileRef)
Sets the base input file. 
 | 
void | 
DeletePagesOperation.setInput(FileRef sourceFileRef)
Sets an input file. 
 | 
void | 
LinearizePDFOperation.setInput(FileRef sourceFileRef)
Sets an input file. 
 | 
void | 
ReorderPagesOperation.setInput(FileRef sourceFileRef)
Sets an input file. 
 | 
void | 
ExportPDFOperation.setInput(FileRef sourceFileRef)
Sets an input PDF file (media type "application/pdf"). 
 | 
void | 
CreatePDFOperation.setInput(FileRef sourceFileRef)
Sets an input file. 
 | 
void | 
OCROperation.setInput(FileRef sourceFileRef)
Sets an input file. 
 | 
void | 
RotatePagesOperation.setInput(FileRef sourceFileRef)
Sets an input file. 
 | 
void | 
CompressPDFOperation.setInput(FileRef sourceFileRef)
Sets an input file. 
 | 
void | 
ProtectPDFOperation.setInput(FileRef sourceFileRef)
Sets an input file. 
 | 
Copyright © 2020 Adobe. All rights reserved.