Top Description Constructors Methods
org.apache.pdfbox.preflight

public Class Validator_A1b

extends Object
Class Inheritance
Imports
java.io.BufferedReader, .File, .FileReader, .IOException, java.util.ArrayList, .Arrays, .List, javax.xml.parsers.DocumentBuilderFactory, .ParserConfigurationException, javax.xml.transform.OutputKeys, .Transformer, .TransformerException, .TransformerFactory, javax.xml.transform.dom.DOMSource, javax.xml.transform.stream.StreamResult, org.apache.pdfbox.preflight.ValidationResult.ValidationError, org.apache.pdfbox.preflight.parser.PreflightParser, .XmlResultParser, org.apache.pdfbox.util.Version, org.w3c.dom.Document, .Element

This class is a simple main class used to check the validity of a pdf file. Usage : java org.apache.pdfbox.preflight.Validator_A1b <file path>
Author
gbailleul

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static List<File>
public static void
main(String[] args)

private static int
private static void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Validator_A1bback to summary
public Validator_A1b()

Method Detail

listFilesback to summary
private static List<File> listFiles(String path) throws IOException
mainback to summary
public static void main(String[] args) throws IOException, TransformerException, ParserConfigurationException
runSimpleback to summary
private static int runSimple(File file) throws IOException
usageback to summary
private static void usage()