public class PDFFormatModule extends Object implements FormatModuleIF
Modifier and Type | Field and Description |
---|---|
protected String[] |
extensions |
protected byte[] |
magicBytes |
Constructor and Description |
---|
PDFFormatModule() |
Modifier and Type | Method and Description |
---|---|
boolean |
matchesContent(ClassifiableContentIF cc)
INTERNAL: Returns true if the content of the classifiable content
is considered to be of the supported format.
|
boolean |
matchesIdentifier(ClassifiableContentIF cc)
INTERNAL: Returns true if the identifier of the classifiable
content is considered to be indicating the supported format.
|
void |
readContent(ClassifiableContentIF cc,
TextHandlerIF handler)
INTERNAL: Reads and analyzes the classifiable content and
triggers callbacks on the text handler to identify the text and
the structure of the classifiable content.
|
protected String[] extensions
protected byte[] magicBytes
public boolean matchesContent(ClassifiableContentIF cc)
FormatModuleIF
matchesContent
in interface FormatModuleIF
public boolean matchesIdentifier(ClassifiableContentIF cc)
FormatModuleIF
matchesIdentifier
in interface FormatModuleIF
public void readContent(ClassifiableContentIF cc, TextHandlerIF handler)
FormatModuleIF
readContent
in interface FormatModuleIF