public class PDFUtil extends Object
Modifier and Type | Method and Description |
---|---|
String |
getErrorMessage()
Returns error message from failed PDF/A validation, if one exists.
|
String |
getExternalErrorFilename()
Returns the name of the external error filename.
|
URL |
getTarget()
Returns the URL of the target.
|
boolean |
validateFileStandardConformity(String pdfBase,
URL parentURL)
Validate if a PDF file conforms to PDF/A standard.
|
public PDFUtil(URL target)
public String getExternalErrorFilename()
public URL getTarget()
public boolean validateFileStandardConformity(String pdfBase, URL parentURL) throws Exception
pdfBase
- The basename of the PDF fileparentURL
- The URL of the parent of pdfBase.Exception
public String getErrorMessage()
Copyright © 2021 Jet Propulsion Laboratory, California Institute of Technology. All rights reserved.