Class PDFUtils

java.lang.Object
org.deltava.util.PDFUtils

public class PDFUtils extends Object
A utility class for Adobe PDF objects.
Since:
9.0
Version:
9.0
Author:
Luke
  • Field Details

  • Method Details

    • isPDF

      public static boolean isPDF(byte[] data)
      Detects if a buffer contains a PDF document.
      Parameters:
      data - the buffer
      Returns:
      TRUE if the buffer starts with the magic number, otherwise FALSE