| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONTENT_ATTACHMENT
Constant for the configuration property ContentAttachment.
|
static java.lang.String |
FILE_EXTENSION_ATTRIBUTE
Constant for the configuration property FileExtensionAttribute.
|
static java.lang.String |
META_DATA_ATTRIBUTE
Constant for the configuration property MimeTypeAttribute.
|
static java.lang.String |
MIME_TYPE_ATTRIBUTE
Constant for the configuration property MimeTypeAttribute.
|
| Constructor and Description |
|---|
MimeTypeIdentifyPipelet() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(AnyMap configuration)
read configuration parameters.
|
protected void |
configure(ParameterAccessor paramAccessor)
configures the class based on a parameter accessor instance.
|
java.lang.String[] |
process(Blackboard blackboard,
java.lang.String[] recordIds)
process given records.
|
public static final java.lang.String FILE_EXTENSION_ATTRIBUTE
public static final java.lang.String CONTENT_ATTACHMENT
public static final java.lang.String META_DATA_ATTRIBUTE
public static final java.lang.String MIME_TYPE_ATTRIBUTE
public void configure(AnyMap configuration) throws ProcessingException
configure in interface Pipeletconfiguration - configuration of pipelet.ProcessingException - configuration is not applicable for pipelet (missing properties, wrong datatypes)protected void configure(ParameterAccessor paramAccessor) throws ProcessingException
paramAccessor - the ParameterAccessor instanceProcessingException - not all required parameters have been configured.public java.lang.String[] process(Blackboard blackboard, java.lang.String[] recordIds) throws ProcessingException
process in interface Pipeletblackboard - Blackboard holding and managing the records.recordIds - Ids of records to process.ProcessingException - error during processing.