public class PDFBoxThumbnail extends MediaFilter implements SelfRegisterInputFormats
| Constructor and Description |
|---|
PDFBoxThumbnail() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBundleName() |
String |
getDescription() |
InputStream |
getDestinationStream(Item currentItem,
InputStream source,
boolean verbose)
Read the source stream and produce the filtered content.
|
String |
getFilteredName(String oldFilename)
Get a filename for a newly created filtered bitstream
|
String |
getFormatString() |
String[] |
getInputDescriptions() |
String[] |
getInputExtensions() |
String[] |
getInputMIMETypes() |
postProcessBitstream, preProcessBitstreampublic String getFilteredName(String oldFilename)
FormatFiltergetFilteredName in interface FormatFilteroldFilename - name of source bitstreampublic String getBundleName()
getBundleName in interface FormatFilterpublic String getFormatString()
getFormatString in interface FormatFilterpublic String getDescription()
getDescription in interface FormatFilterpublic InputStream getDestinationStream(Item currentItem, InputStream source, boolean verbose) throws Exception
FormatFiltergetDestinationStream in interface FormatFiltercurrentItem - itemsource - source input streamverbose - verbose modeException - if errorpublic String[] getInputMIMETypes()
getInputMIMETypes in interface SelfRegisterInputFormatspublic String[] getInputDescriptions()
getInputDescriptions in interface SelfRegisterInputFormatspublic String[] getInputExtensions()
getInputExtensions in interface SelfRegisterInputFormatsCopyright © 2017 DuraSpace. All rights reserved.