public final class PdfAConverter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PdfAConverter.PDFX
Tipos de PDF/X.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
convertToPdfA(byte[] originalPdf)
Convierte un PDF en PDF/A1B.
|
static byte[] |
convertToPdfA(byte[] pdf,
int outputPdfVersion)
Convierte un PDF en PDF/A1B.
|
static PdfAConverter.PDFX |
getPdfXConformance(byte[] pdfIn)
Indica el nivel de adherencia a las especificaciones PDF/A del PDF indicado.
|
public static byte[] convertToPdfA(byte[] originalPdf) throws java.io.IOException
originalPdf
- PDF original.java.io.IOException
- Si ocurre cualquier problema en la conversión.public static byte[] convertToPdfA(byte[] pdf, int outputPdfVersion) throws java.io.IOException
pdf
- PDF original.outputPdfVersion
- Versión (de la especificación PDF) del PDF de salida.java.io.IOException
- Si ocurre cualquier problema en la conversión.public static PdfAConverter.PDFX getPdfXConformance(byte[] pdfIn) throws java.io.IOException
pdfIn
- PDF de entrada.java.io.IOException
- Si hay problemas en el tratamiento de datos.