Class PdfDecompressor

java.lang.Object
org.apache.pdfbox.PdfDecompressor

public class PdfDecompressor extends Object
This program will just take all of the stream objects in a PDF and dereference them. The streams will be gone in the resulting file and the objects will be present. This is very helpful when trying to debug problems as it'll make it possible to easily look through a PDF using a text editor. It also exposes problems which stem from objects inside object streams overwriting other objects.
Author:
Adam Nichols
  • Constructor Details

    • PdfDecompressor

      public PdfDecompressor()
  • Method Details

    • main

      public static void main(String[] args)
      This is a very simple program, so everything is in the main method.
      Parameters:
      args - arguments to the program