How open and replace a data from PDF stream in the apache PDFBox lib in java?
问题 I use apache pdfbox 2.0.0 version in my java code (java 1.6). I'm trying to figure out how I can get, replace and save back to my pdf a data from <stream> data here... <endstream> ? My pdf file looks like: 596 0 obj << /Filter /FlateDecode /Length 3739 >> stream xњ[ЫnЬF}џoШ8эІАђhЮ/‰`@С%Hvќd-н“іXPJГ ... endstream endobj I've found a solution how I can decode this stream. I used a "WriteDecodedDoc" command from the pdfbox-app-1.8.10.jar api. So now I have two variant of the file but I have NO