Package org.apache.pdfbox.tools
Class Version
java.lang.Object
org.apache.pdfbox.tools.Version
final class Version
extends Object
implements Callable<Integer>, picocli.CommandLine.IVersionProvider
A simple command line utility to get the version of PDFBox.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) picocli.CommandLine.Model.CommandSpecprivate final PrintStream -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SYSOUT
-
spec
picocli.CommandLine.Model.CommandSpec spec
-
-
Constructor Details
-
Version
public Version()Constructor.
-
-
Method Details
-
getVersion
Get the version of PDFBox or unknown if it is not known.- Specified by:
getVersionin interfacepicocli.CommandLine.IVersionProvider- Returns:
- The version of pdfbox that is being used.
-
main
This will print out the version of PDF to System.out.- Parameters:
args- Command line arguments.
-
call
-