Class PDFUtils
java.lang.Object
org.deltava.util.PDFUtils
A utility class for Adobe PDF objects.
- Since:
- 9.0
- Version:
- 9.0
- Author:
- Luke
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isPDF
(byte[] data) Detects if a buffer contains a PDF document.
-
Field Details
-
PDF_MAGIC
-
-
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
-