Class Decrypt

java.lang.Object
org.apache.pdfbox.tools.Decrypt

public final class Decrypt extends Object
This will read a document from the filesystem, decrypt it and and then write the result to the filesystem.
  • Field Details

  • Constructor Details

    • Decrypt

      private Decrypt()
  • Method Details

    • main

      public static void main(String[] args) throws IOException
      This is the entry point for the application.
      Parameters:
      args - The command-line arguments.
      Throws:
      IOException - If there is an error decrypting the document.
    • parseCommandLineArgs

      private void parseCommandLineArgs(String[] args)
    • decrypt

      private void decrypt() throws IOException
      Throws:
      IOException
    • usage

      private static void usage()
      This will print a usage message.