文件名称:pdfread
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2013-01-02
- 文件大小:
- 19.89mb
- 下载次数:
- 0次
- 提 供 者:
- nik***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
PDDocument doc
PDFTextStripper stripper = new PDFTextStripper()
stripper.resetEngine()
stripper.setWordSeparator(" ")
// stripper.setShouldSeparateByBeads(false)
stripper.setShouldSeparateByBeads(true)
stripper.setLineSeparator("\r\n ")
// stripper.setSpacingTolerance(0.1f)
String text = stripper.getText(doc)
doc.close()
// stripper.get
File file = new File(fileName)
file.getPath()
input(mfile,"\n\n"+file.getPath(),"old")
input(mfile,text,"old")
PDFTextStripper stripper = new PDFTextStripper()
stripper.resetEngine()
stripper.setWordSeparator(" ")
// stripper.setShouldSeparateByBeads(false)
stripper.setShouldSeparateByBeads(true)
stripper.setLineSeparator("\r\n ")
// stripper.setSpacingTolerance(0.1f)
String text = stripper.getText(doc)
doc.close()
// stripper.get
File file = new File(fileName)
file.getPath()
input(mfile,"\n\n"+file.getPath(),"old")
input(mfile,text,"old")
(系统自动生成,下载前可以参看下载内容)
下载文件列表
.classpath
.project
.settings\org.eclipse.jdt.core.prefs
bin\kr\pdf\reader.class
...\org\apache\jempbox\impl\DateConverter.class
...\...\......\.......\....\package.html
...\...\......\.......\....\XMLUtil.class
...\...\......\.......\xmp\Elementable.class
...\...\......\.......\...\package.html
...\...\......\.......\...\.dfa\package.html
...\...\......\.......\...\....\XMPMetadataPDFA.class
...\...\......\.......\...\....\XMPSchemaPDFAField.class
...\...\......\.......\...\....\XMPSchemaPDFAId.class
...\...\......\.......\...\....\XMPSchemaPDFAProperty.class
...\...\......\.......\...\....\XMPSchemaPDFASchema.class
...\...\......\.......\...\....\XMPSchemaPDFAType.class
...\...\......\.......\...\ResourceEvent.class
...\...\......\.......\...\ResourceRef.class
...\...\......\.......\...\Thumbnail.class
...\...\......\.......\...\XMPMetadata.class
...\...\......\.......\...\XMPSchema.class
...\...\......\.......\...\XMPSchemaBasic.class
...\...\......\.......\...\XMPSchemaBasicJobTicket.class
...\...\......\.......\...\XMPSchemaDublinCore.class
...\...\......\.......\...\XMPSchemaDynamicMedia.class
...\...\......\.......\...\XMPSchemaIptc4xmpCore.class
...\...\......\.......\...\XMPSchemaMediaManagement.class
...\...\......\.......\...\XMPSchemaPagedText.class
...\...\......\.......\...\XMPSchemaPDF.class
...\...\......\.......\...\XMPSchemaPhotoshop.class
...\...\......\.......\...\XMPSchemaRightsManagement.class
...\...\......\pdfbox\ConvertColorspace$ColorSpaceInstance.class
...\...\......\......\ConvertColorspace.class
...\...\......\......\cos\COSArray.class
...\...\......\......\...\COSBase.class
...\...\......\......\...\COSBoolean.class
...\...\......\......\...\COSDictionary.class
...\...\......\......\...\COSDictionaryLateBinding.class
...\...\......\......\...\COSDocument.class
...\...\......\......\...\COSFloat.class
...\...\......\......\...\COSInteger.class
...\...\......\......\...\COSName.class
...\...\......\......\...\COSNull.class
...\...\......\......\...\COSNumber.class
...\...\......\......\...\COSObject.class
...\...\......\......\...\COSStream.class
...\...\......\......\...\COSString.class
...\...\......\......\...\COSUnread.class
...\...\......\......\...\ICOSVisitor.class
...\...\......\......\...\package.html
...\...\......\......\Decrypt.class
...\...\......\......\encoding\AFMEncoding.class
...\...\......\......\........\conversion\CJKConverter.class
...\...\......\......\........\..........\CJKEncodings.class
...\...\......\......\........\..........\CMapSubstitution.class
...\...\......\......\........\..........\EncodingConversionManager.class
...\...\......\......\........\..........\EncodingConverter.class
...\...\......\......\........\..........\package.html
...\...\......\......\........\DictionaryEncoding.class
...\...\......\......\........\Encoding.class
...\...\......\......\........\EncodingManager.class
...\...\......\......\........\MacRomanEncoding.class
...\...\......\......\........\package.html
...\...\......\......\........\PdfDocEncoding.class
...\...\......\......\........\StandardEncoding.class
...\...\......\......\........\Type1Encoding.class
...\...\......\......\........\WinAnsiEncoding.class
...\...\......\......\Encrypt.class
...\...\......\......\encryption\ARCFour.class
...\...\......\......\..........\DocumentEncryption.class
...\...\......\......\..........\package.html
...\...\......\......\..........\PDFEncryption.class
...\...\......\......\.xceptions\COSVisitorException.class
...\...\......\......\..........\CryptographyException.class
...\...\......\......\..........\InvalidPasswordException.class
...\...\......\......\..........\OutlineNotLocalException.class
...\...\......\......\..........\package.html
...\...\......\......\..........\SignatureException.class
...\...\......\......\..........\WrappedException.class
...\...\......\......\..........\WrappedIOException.class
...\...\......\......\ExportFDF.class
...\...\......\......\ExportXFDF.class
...\...\......\......\ExtractImages.class
...\...\......\......\ExtractText.class
...\...\......\....