@DoNotObfuscate
public final class AssertThat
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VERSION |
Constructor and Description |
---|
AssertThat() |
Modifier and Type | Method and Description |
---|---|
static DocumentValidator |
document(byte[] pdfAsBytes)
Loading a PDF document from a byte array representing a PDF document.
|
static DocumentValidator |
document(byte[] pdfAsBytes,
java.lang.String password)
Loading an encrypted PDF document from a byte array representing a PDF document.
|
static DocumentValidator |
document(java.io.File file)
Loading a PDF document from a file.
|
static DocumentValidator |
document(java.io.File file,
java.lang.String password)
Loading an encrypted PDF document from a file.
|
static DocumentValidator |
document(java.io.InputStream stream)
Loading a PDF document from an input stream.
|
static DocumentValidator |
document(java.io.InputStream stream,
java.lang.String password)
Loading an encrypted PDF document from an input stream.
|
static DocumentValidator |
document(java.lang.String filename)
Loading a PDF document from a file.
|
static DocumentValidator |
document(java.lang.String filename,
java.lang.String password)
Loading an encrypted PDF document from a file.
|
static DocumentValidator |
document(java.net.URL url)
Loading a PDF document from an URL.
|
static DocumentValidator |
document(java.net.URL url,
java.lang.String password)
Loading an encrypted PDF document from an URL.
|
static FolderValidator |
eachDocument()
Preparing to load all PDF documents from a folder.
|
static MultiDocumentValidator |
eachDocument(java.io.File[] files)
Loading an array of PDF documents.
|
static MultiDocumentValidator |
eachDocument(java.io.File[] files,
java.lang.String ownerPassword)
Loading an array of PDF documents, each having the same password.
|
static MultiDocumentValidator |
eachDocument(java.io.InputStream[] streams)
Loading an array of PDF documents.
|
static MultiDocumentValidator |
eachDocument(java.io.InputStream[] streams,
java.lang.String ownerPassword)
Loading an array of PDF documents, each having the same password.
|
static MultiDocumentValidator |
eachDocument(java.lang.String[] fileNames)
Loading an array of PDF documents.
|
static MultiDocumentValidator |
eachDocument(java.lang.String[] fileNames,
java.lang.String ownerPassword)
Loading an array of PDF documents, each having the same password.
|
static MultiDocumentValidator |
eachDocument(java.net.URL[] urls)
Loading an array of PDF documents.
|
static MultiDocumentValidator |
eachDocument(java.net.URL[] urls,
java.lang.String ownerPassword)
Loading an array of PDF documents, each having the same password.
|
static java.lang.String |
installationIsClean(java.lang.String filename)
Verifying that needed classes and files can be found on the classpath.
|
static java.lang.String |
installationIsClean(java.lang.String filename,
boolean verbose)
Verifying that needed classes and files can be found on the classpath.
|
public static final java.lang.String VERSION
@Guarded public static final DocumentValidator document(java.lang.String filename)
@Guarded public static final DocumentValidator document(java.io.File file)
@Guarded public static final DocumentValidator document(java.lang.String filename, java.lang.String password)
@Guarded public static final DocumentValidator document(java.io.File file, java.lang.String password)
@Guarded public static final DocumentValidator document(byte[] pdfAsBytes)
@Guarded public static final DocumentValidator document(byte[] pdfAsBytes, java.lang.String password)
@Guarded public static final DocumentValidator document(java.net.URL url)
@Guarded public static final DocumentValidator document(java.io.InputStream stream)
@Guarded public static final DocumentValidator document(java.net.URL url, java.lang.String password)
@Guarded public static final DocumentValidator document(java.io.InputStream stream, java.lang.String password)
public static final FolderValidator eachDocument()
@Guarded public static final MultiDocumentValidator eachDocument(java.lang.String[] fileNames)
@Guarded public static final MultiDocumentValidator eachDocument(java.io.File[] files)
@Guarded public static final MultiDocumentValidator eachDocument(java.io.InputStream[] streams)
@Guarded public static final MultiDocumentValidator eachDocument(java.net.URL[] urls)
@Guarded public static final MultiDocumentValidator eachDocument(java.lang.String[] fileNames, java.lang.String ownerPassword)
@Guarded public static final MultiDocumentValidator eachDocument(java.io.File[] files, java.lang.String ownerPassword)
@Guarded public static final MultiDocumentValidator eachDocument(java.io.InputStream[] streams, java.lang.String ownerPassword)
@Guarded public static final MultiDocumentValidator eachDocument(java.net.URL[] urls, java.lang.String ownerPassword)
@Guarded public static java.lang.String installationIsClean(java.lang.String filename) throws java.io.FileNotFoundException, javax.xml.transform.TransformerException, org.verifyinstallation.VIPException
java.io.FileNotFoundException
javax.xml.transform.TransformerException
org.verifyinstallation.VIPException
@Guarded public static java.lang.String installationIsClean(java.lang.String filename, boolean verbose) throws java.io.FileNotFoundException, javax.xml.transform.TransformerException, org.verifyinstallation.VIPException
java.io.FileNotFoundException
javax.xml.transform.TransformerException
org.verifyinstallation.VIPException
Copyright (C) PDFUnit.com. See here for license.