Class DecompressObjectstreams

  • All Implemented Interfaces:
    java.util.concurrent.Callable<java.lang.Integer>

    public final class DecompressObjectstreams
    extends java.lang.Object
    implements java.util.concurrent.Callable<java.lang.Integer>
    This program will just save the loaded pdf without any changes. As PDFBox doesn't support writing compressed object streams those streams are stripped and will be gone in the resulting file. 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.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.io.File infile  
      private java.io.File outfile  
      private java.io.PrintStream SYSERR  
      (package private) boolean usageHelpRequested  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer call()  
      static void main​(java.lang.String[] args)
      This is the entry point for the application.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SYSERR

        private final java.io.PrintStream SYSERR
      • usageHelpRequested

        boolean usageHelpRequested
      • infile

        private java.io.File infile
      • outfile

        private java.io.File outfile
    • Constructor Detail

      • DecompressObjectstreams

        public DecompressObjectstreams()
        Constructor.
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        This is the entry point for the application.
        Parameters:
        args - The command-line arguments.
      • call

        public java.lang.Integer call()
        Specified by:
        call in interface java.util.concurrent.Callable<java.lang.Integer>