public class Console
extends java.lang.Object
Usage:
java -cp path/to/PDFxStream.jar com.snowtide.pdf.Console --text [--vot] [pdfFile] [optional output path]
If an output path is not provided, extracted text will be written to stdout. Formatting of the text will be
per OutputTarget
, unless --vot
is included as a flag, specifying the use of
VisualOutputTarget
to preserve the input document's horizontal whitespace and other
visual layout characteristics.
java -cp path/to/PDFxStream.jar com.snowtide.pdf.Console --images [pdfFile] [optional root output path]
If an output path is not provided, extracted images will be written to a directory in the same directory as pdfFile
, distinguished with a .images
suffix.
java -cp path/to/PDFxStream.jar com.snowtide.pdf.Console --attrs [pdfFile]
Prints name/value pairs of document metadata to stdout.
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |