在使用pdfbox的时候,为什么老出现: Usage: java -jar pdfbox-app-x.y.z.jar ExtractText [OPTIONS] <PDF file> [Text File] -password <password> Password to decrypt document -encoding <output encoding> (ISO-8859-1,UTF-16BE,UTF-16LE,...) -console Send text to console instead of file -html Output in HTML format instead of raw text -sort Sort the text before writing -ignoreBeads Disables the separation by beads -force Enables pdfbox to ignore corrupt objects -debug Enables debug output about the time consumption of every stage -startPage <number> The first page to start extraction(1 based) -endPage <number> The last page to extract(inclusive) -nonSeq Enables the new non-sequential parser <PDF file> The PDF document to use [Text File] The file to write the text to 该怎么做才能让该类的功能表达出来?即将文档的内容显示出来?
然后java -jar pdfbox-app-x.y.z.jar PDFMerger <Source PDF files (2 ..n)> <Target PDF file>java -jar pdfbox-app-x.y.z.jar ExtractText [OPTIONS] <PDF file> [Text file]
Usage: java -jar pdfbox-app-x.y.z.jar ExtractText [OPTIONS] <PDF file> [Text File]
-password <password> Password to decrypt document
-encoding <output encoding> (ISO-8859-1,UTF-16BE,UTF-16LE,...)
-console Send text to console instead of file
-html Output in HTML format instead of raw text
-sort Sort the text before writing
-ignoreBeads Disables the separation by beads
-force Enables pdfbox to ignore corrupt objects
-debug Enables debug output about the time consumption of every stage
-startPage <number> The first page to start extraction(1 based)
-endPage <number> The last page to extract(inclusive)
-nonSeq Enables the new non-sequential parser
<PDF file> The PDF document to use
[Text File] The file to write the text to
该怎么做才能让该类的功能表达出来?即将文档的内容显示出来?