Package org.apache.pdfbox.tools
Class Version
- java.lang.Object
-
- org.apache.pdfbox.tools.Version
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Integer>,picocli.CommandLine.IVersionProvider
final class Version extends java.lang.Object implements java.util.concurrent.Callable<java.lang.Integer>, picocli.CommandLine.IVersionProviderA simple command line utility to get the version of PDFBox.
-
-
Constructor Summary
Constructors Constructor Description Version()Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integercall()java.lang.String[]getVersion()Get the version of PDFBox or unknown if it is not known.static voidmain(java.lang.String[] args)This will print out the version of PDF to System.out.
-
-
-
Method Detail
-
getVersion
public java.lang.String[] 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
public static void main(java.lang.String[] args)
This will print out the version of PDF to System.out.- Parameters:
args- Command line arguments.
-
call
public java.lang.Integer call()
- Specified by:
callin interfacejava.util.concurrent.Callable<java.lang.Integer>
-
-