Class PDFMatcher
- java.lang.Object
-
- org.jadice.filetype.matchers.Matcher
-
- com.levigo.jadice.server.documentplatform.filetypeanalysis.PDFMatcher
-
public class PDFMatcher extends org.jadice.filetype.matchers.Matcher
AMatcher
for PDF documents . Caveat: for performance reasons, this should only be called from a context where the stream has already be identified as a PDF file/stream.
-
-
Field Summary
Fields Modifier and Type Field Description static String
DETAILS_KEY
static String
EMBEDDED_FILE_NAMES_KEY
static String
IS_ENCRYPTED_KEY
static String
METADATA_KEY
static String
PDF_MIME_TYPE
static String
REQUIRES_USER_PASSWORD_KEY
static String
SECURITY_HANDLER_KEY
static String
VERSION_KEY
-
Constructor Summary
Constructors Constructor Description PDFMatcher()
-
-
-
Field Detail
-
PDF_MIME_TYPE
public static final String PDF_MIME_TYPE
-
DETAILS_KEY
public static final String DETAILS_KEY
- See Also:
- Constant Field Values
-
EMBEDDED_FILE_NAMES_KEY
public static final String EMBEDDED_FILE_NAMES_KEY
- See Also:
- Constant Field Values
-
REQUIRES_USER_PASSWORD_KEY
public static final String REQUIRES_USER_PASSWORD_KEY
- See Also:
- Constant Field Values
-
SECURITY_HANDLER_KEY
public static final String SECURITY_HANDLER_KEY
- See Also:
- Constant Field Values
-
IS_ENCRYPTED_KEY
public static final String IS_ENCRYPTED_KEY
- See Also:
- Constant Field Values
-
METADATA_KEY
public static final String METADATA_KEY
- See Also:
- Constant Field Values
-
VERSION_KEY
public static final String VERSION_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
matches
public boolean matches(org.jadice.filetype.Context context) throws IOException
- Specified by:
matches
in classorg.jadice.filetype.matchers.Matcher
- Throws:
IOException
-
-