Class PDFSplit

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

    public final class PDFSplit
    extends java.lang.Object
    implements java.util.concurrent.Callable<java.lang.Integer>
    This is the main program that will take a pdf document and split it into a number of other documents.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int endPage  
      private java.io.File infile  
      private java.lang.String outputPrefix  
      private java.lang.String password  
      private int split  
      private int startPage  
      private java.io.PrintStream SYSERR  
    • Constructor Summary

      Constructors 
      Constructor Description
      PDFSplit()
      Constructor.
    • 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)
      Infamous main method.
      • 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
      • password

        private java.lang.String password
      • split

        private int split
      • startPage

        private int startPage
      • endPage

        private int endPage
      • outputPrefix

        private java.lang.String outputPrefix
      • infile

        private java.io.File infile
    • Constructor Detail

      • PDFSplit

        public PDFSplit()
        Constructor.
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        Infamous main method.
        Parameters:
        args - Command line arguments, should be one and a reference to a file.
      • call

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